Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/autograph/pyct/
Dinspect_utils_test.py533 self.assertTrue(inspect_utils.isbuiltin(enumerate))
534 self.assertTrue(inspect_utils.isbuiltin(eval))
535 self.assertTrue(inspect_utils.isbuiltin(float))
536 self.assertTrue(inspect_utils.isbuiltin(int))
537 self.assertTrue(inspect_utils.isbuiltin(len))
538 self.assertTrue(inspect_utils.isbuiltin(range))
539 self.assertTrue(inspect_utils.isbuiltin(zip))
540 self.assertFalse(inspect_utils.isbuiltin(function_decorator))
Dinspect_utils.py59 def isbuiltin(f): function
65 elif inspect.isbuiltin(f):
/external/tensorflow/tensorflow/python/util/
Dtf_inspect_test.py552 tf_inspect.isbuiltin(TestDecoratedClass),
553 inspect.isbuiltin(TestDecoratedClass))
555 tf_inspect.isbuiltin(test_decorated_function),
556 inspect.isbuiltin(test_decorated_function))
558 tf_inspect.isbuiltin(test_undecorated_function),
559 inspect.isbuiltin(test_undecorated_function))
560 self.assertEqual(tf_inspect.isbuiltin(range), inspect.isbuiltin(range))
561 self.assertEqual(tf_inspect.isbuiltin(max), inspect.isbuiltin(max))
Dtf_inspect.py369 def isbuiltin(object): # pylint: disable=redefined-builtin function
371 return _inspect.isbuiltin(tf_decorator.unwrap(object)[1])
/external/tensorflow/tensorflow/python/keras/utils/
Dtf_inspect.py355 def isbuiltin(object): # pylint: disable=redefined-builtin function
357 return _inspect.isbuiltin(tf_decorator.unwrap(object)[1])
/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/python/cpython3/Lib/
Dpydoc.py118 elif inspect.isbuiltin(obj):
240 if inspect.isbuiltin(fn):
797 inspect.isbuiltin(value) or inspect.getmodule(value) is object):
1230 inspect.isbuiltin(value) or inspect.getmodule(value) is object):
1692 if inspect.isbuiltin(thing):
Dinspect.py404 def isbuiltin(object): function
415 return (isbuiltin(object)
689 elif isbuiltin(obj):
1994 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/tensorflow/tensorflow/python/autograph/impl/
Dapi.py359 if inspect_utils.isbuiltin(f):
/external/python/pyfakefs/pyfakefs/
Dfake_filesystem_unittest.py632 (inspect.isfunction(fct) or inspect.isbuiltin(fct)))
/external/python/cpython3/Lib/test/
Dtest_signal.py42 if inspect.isroutine(value) and not inspect.isbuiltin(value):
Dtest_inspect.py91 predicates = set([inspect.isbuiltin, inspect.isclass, inspect.iscode,
130 self.istest(inspect.isbuiltin, 'sys.exit')
131 self.istest(inspect.isbuiltin, '[].append')
/external/python/cpython3/Doc/library/
Dinspect.rst406 .. function:: isbuiltin(object)
424 :func:`ismethod`, :func:`isclass`, :func:`isfunction` or :func:`isbuiltin`