Home
last modified time | relevance | path

Searched refs:isbuiltin (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/python/autograph/pyct/
Dinspect_utils_test.py410 self.assertTrue(inspect_utils.isbuiltin(enumerate))
411 self.assertTrue(inspect_utils.isbuiltin(float))
412 self.assertTrue(inspect_utils.isbuiltin(int))
413 self.assertTrue(inspect_utils.isbuiltin(len))
414 self.assertTrue(inspect_utils.isbuiltin(range))
415 self.assertTrue(inspect_utils.isbuiltin(zip))
416 self.assertFalse(inspect_utils.isbuiltin(function_decorator))
Dinspect_utils.py75 def isbuiltin(f): function
81 if tf_inspect.isbuiltin(f):
/external/tensorflow/tensorflow/python/util/
Dtf_inspect_test.py544 tf_inspect.isbuiltin(TestDecoratedClass),
545 inspect.isbuiltin(TestDecoratedClass))
547 tf_inspect.isbuiltin(test_decorated_function),
548 inspect.isbuiltin(test_decorated_function))
550 tf_inspect.isbuiltin(test_undecorated_function),
551 inspect.isbuiltin(test_undecorated_function))
552 self.assertEqual(tf_inspect.isbuiltin(range), inspect.isbuiltin(range))
553 self.assertEqual(tf_inspect.isbuiltin(max), inspect.isbuiltin(max))
Dtf_inspect.py348 def isbuiltin(object): # pylint: disable=redefined-builtin function
350 return _inspect.isbuiltin(tf_decorator.unwrap(object)[1])
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dtype_info.py183 not inspect_utils.isbuiltin(func_obj)):
/external/python/cpython2/Lib/test/
Dtest_inspect.py50 predicates = set([inspect.isbuiltin, inspect.isclass, inspect.iscode,
80 self.istest(inspect.isbuiltin, 'sys.exit')
81 self.istest(inspect.isbuiltin, '[].append')
/external/python/cpython2/Lib/
Dinspect.py226 def isbuiltin(object): function
237 return (isbuiltin(object)
Dpydoc.py687 inspect.isbuiltin(value) or inspect.getmodule(value) is object):
1105 inspect.isbuiltin(value) or inspect.getmodule(value) is object):
1493 if inspect.isbuiltin(thing):
/external/tensorflow/tensorflow/python/autograph/impl/
Dapi.py227 if inspect_utils.isbuiltin(f):
/external/python/cpython3/Lib/
Dpydoc.py143 inspect.isbuiltin(obj) or
153 if inspect.isbuiltin(fn):
712 inspect.isbuiltin(value) or inspect.getmodule(value) is object):
1145 inspect.isbuiltin(value) or inspect.getmodule(value) is object):
1585 if inspect.isbuiltin(thing):
Dinspect.py276 def isbuiltin(object): function
287 return (isbuiltin(object)
561 elif isbuiltin(obj):
1829 return (isbuiltin(obj) or
/external/python/cpython2/Doc/library/
Dinspect.rst315 .. function:: isbuiltin(object)
335 :func:`ismethod`, :func:`isclass`, :func:`isfunction` or :func:`isbuiltin`
/external/python/cpython3/Lib/test/
Dtest_inspect.py86 predicates = set([inspect.isbuiltin, inspect.isclass, inspect.iscode,
129 self.istest(inspect.isbuiltin, 'sys.exit')
130 self.istest(inspect.isbuiltin, '[].append')
/external/python/cpython3/Doc/library/
Dinspect.rst377 .. function:: isbuiltin(object)
395 :func:`ismethod`, :func:`isclass`, :func:`isfunction` or :func:`isbuiltin`