Searched refs:isfunction (Results 1 – 25 of 32) sorted by relevance
12
196 self.isfunction = isinstance(obj, pyclbr.Function)201 if self.isfunction:208 if self.isfunction:
90 if tf_inspect.isfunction(func):105 if tf_inspect.isfunction(func) or tf_inspect.ismethod(func):
358 def isfunction(object): # pylint: disable=redefined-builtin function360 return _inspect.isfunction(tf_decorator.unwrap(object)[1])
560 self.assertTrue(tf_inspect.isfunction(test_decorated_function))561 self.assertFalse(tf_inspect.isfunction(TestDecoratedClass))
302 self.assertTrue(tf_inspect.isfunction(target))
146 self.isfunction = isinstance(self.cl, pyclbr.Function)149 if self.isfunction:155 if self.isfunction:
95 and not isfunction(object)142 def isfunction(object): function160 return bool((isfunction(object) or ismethod(object)) and238 or isfunction(object)410 if isfunction(object):567 if isfunction(object):824 if not isfunction(func):
943 elif inspect.isfunction(object):977 if ((inspect.isfunction(val) or inspect.isclass(val)) and989 if not (inspect.isfunction(val) or inspect.isclass(val) or1010 if ((inspect.isfunction(val) or inspect.isclass(val) or1080 if inspect.isfunction(obj): obj = obj.func_code
88 elif inspect.isfunction(object):
691 if inspect.isfunction(value): fdict[value] = fdict[key]935 if inspect.isfunction(object):1320 if inspect.isfunction(object):1505 if inspect.isfunction(thing):
547 if inspect.isfunction(f)]
71 if not inspect.isfunction(attribute):280 if not inspect.isfunction(attribute):
54 if not tf_inspect.isfunction(f):301 if not tf_inspect.isfunction(entity):
84 if not tf_inspect.isfunction(entity) or entity.__name__ != '<lambda>':
50 if not tf_inspect.isfunction(py_object):140 tf_inspect.isfunction(py_object) or tf_inspect.ismodule(py_object) or1251 elif (tf_inspect.ismethod(child) or tf_inspect.isfunction(child) or1443 elif tf_inspect.isfunction(member):1527 if (tf_inspect.ismethod(py_object) or tf_inspect.isfunction(py_object) or1718 if (tf_inspect.ismodule(py_object) or tf_inspect.isfunction(py_object) or1721 if tf_inspect.isfunction(py_object):
104 if isclass(object) or ismethod(object) or isfunction(object):118 if isclass(object) or ismethod(object) or isfunction(object):158 def isfunction(object): function176 return bool((isfunction(object) or ismethod(object)) and184 return bool((isfunction(object) or ismethod(object)) and193 return bool((isfunction(object) or ismethod(object)) and288 or isfunction(object)556 elif isfunction(obj):656 if isfunction(object):816 if isfunction(object):[all …]
484 if inspect.isfunction(f)]
12 if inspect.isfunction(func):
183 self.assertFalse(self.cbt_C1.isfunction)185 self.assertTrue(self.cbt_f1.isfunction)
51 inspect.isframe, inspect.isfunction, inspect.ismethod,61 other == inspect.isfunction:84 self.istest(inspect.isfunction, 'mod.spam')255 functions = inspect.getmembers(mod, inspect.isfunction)
190 elif tf_inspect.isfunction(o):233 method_filter = lambda m: tf_inspect.isfunction(m) or tf_inspect.ismethod(m)
283 if tf_inspect.isfunction(f) or tf_inspect.ismethod(f):
167 if tf_inspect.isfunction(loop_fn):
67 from inspect import isfunction186 self.criteria_str = criteria() if isfunction(criteria) else criteria
280 .. function:: isfunction(object)335 :func:`ismethod`, :func:`isclass`, :func:`isfunction` or :func:`isbuiltin`