Home
last modified time | relevance | path

Searched refs:isfunction (Results 1 – 25 of 32) sorted by relevance

12

/external/python/cpython3/Lib/idlelib/
Dbrowser.py196 self.isfunction = isinstance(obj, pyclbr.Function)
201 if self.isfunction:
208 if self.isfunction:
/external/tensorflow/tensorflow/python/util/
Dfunction_utils.py90 if tf_inspect.isfunction(func):
105 if tf_inspect.isfunction(func) or tf_inspect.ismethod(func):
Dtf_inspect.py358 def isfunction(object): # pylint: disable=redefined-builtin function
360 return _inspect.isfunction(tf_decorator.unwrap(object)[1])
Dtf_inspect_test.py560 self.assertTrue(tf_inspect.isfunction(test_decorated_function))
561 self.assertFalse(tf_inspect.isfunction(TestDecoratedClass))
Dtf_decorator_test.py302 self.assertTrue(tf_inspect.isfunction(target))
/external/python/cpython2/Lib/idlelib/
DClassBrowser.py146 self.isfunction = isinstance(self.cl, pyclbr.Function)
149 if self.isfunction:
155 if self.isfunction:
/external/python/cpython2/Lib/
Dinspect.py95 and not isfunction(object)
142 def isfunction(object): function
160 return bool((isfunction(object) or ismethod(object)) and
238 or isfunction(object)
410 if isfunction(object):
567 if isfunction(object):
824 if not isfunction(func):
Ddoctest.py943 elif inspect.isfunction(object):
977 if ((inspect.isfunction(val) or inspect.isclass(val)) and
989 if not (inspect.isfunction(val) or inspect.isclass(val) or
1010 if ((inspect.isfunction(val) or inspect.isclass(val) or
1080 if inspect.isfunction(obj): obj = obj.func_code
DDocXMLRPCServer.py88 elif inspect.isfunction(object):
Dpydoc.py691 if inspect.isfunction(value): fdict[value] = fdict[key]
935 if inspect.isfunction(object):
1320 if inspect.isfunction(object):
1505 if inspect.isfunction(thing):
Dtrace.py547 if inspect.isfunction(f)]
/external/autotest/frontend/afe/
Drpc_handler.py71 if not inspect.isfunction(attribute):
280 if not inspect.isfunction(attribute):
/external/tensorflow/tensorflow/python/autograph/pyct/
Dinspect_utils.py54 if not tf_inspect.isfunction(f):
301 if not tf_inspect.isfunction(entity):
Dparser.py84 if not tf_inspect.isfunction(entity) or entity.__name__ != '<lambda>':
/external/tensorflow/tensorflow/tools/docs/
Dparser.py50 if not tf_inspect.isfunction(py_object):
140 tf_inspect.isfunction(py_object) or tf_inspect.ismodule(py_object) or
1251 elif (tf_inspect.ismethod(child) or tf_inspect.isfunction(child) or
1443 elif tf_inspect.isfunction(member):
1527 if (tf_inspect.ismethod(py_object) or tf_inspect.isfunction(py_object) or
1718 if (tf_inspect.ismodule(py_object) or tf_inspect.isfunction(py_object) or
1721 if tf_inspect.isfunction(py_object):
/external/python/cpython3/Lib/
Dinspect.py104 if isclass(object) or ismethod(object) or isfunction(object):
118 if isclass(object) or ismethod(object) or isfunction(object):
158 def isfunction(object): function
176 return bool((isfunction(object) or ismethod(object)) and
184 return bool((isfunction(object) or ismethod(object)) and
193 return bool((isfunction(object) or ismethod(object)) and
288 or isfunction(object)
556 elif isfunction(obj):
656 if isfunction(object):
816 if isfunction(object):
[all …]
Dtrace.py484 if inspect.isfunction(f)]
/external/python/cpython3/Lib/asyncio/
Dformat_helpers.py12 if inspect.isfunction(func):
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_browser.py183 self.assertFalse(self.cbt_C1.isfunction)
185 self.assertTrue(self.cbt_f1.isfunction)
/external/python/cpython2/Lib/test/
Dtest_inspect.py51 inspect.isframe, inspect.isfunction, inspect.ismethod,
61 other == inspect.isfunction:
84 self.istest(inspect.isfunction, 'mod.spam')
255 functions = inspect.getmembers(mod, inspect.isfunction)
/external/tensorflow/tensorflow/python/autograph/impl/
Dconversion.py190 elif tf_inspect.isfunction(o):
233 method_filter = lambda m: tf_inspect.isfunction(m) or tf_inspect.ismethod(m)
Dapi.py283 if tf_inspect.isfunction(f) or tf_inspect.ismethod(f):
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dcontrol_flow_ops.py167 if tf_inspect.isfunction(loop_fn):
/external/autotest/client/site_tests/firmware_TouchMTB/
Dvalidators.py67 from inspect import isfunction
186 self.criteria_str = criteria() if isfunction(criteria) else criteria
/external/python/cpython2/Doc/library/
Dinspect.rst280 .. function:: isfunction(object)
335 :func:`ismethod`, :func:`isclass`, :func:`isfunction` or :func:`isbuiltin`

12