Home
last modified time | relevance | path

Searched refs:getsource (Results 1 – 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/python/autograph/pyct/
Dcompiler_test.py45 textwrap.dedent(tf_inspect.getsource(test_fn)),
46 tf_inspect.getsource(
/external/python/cpython2/Lib/test/
Dtest_zipimport_support.py87 self.assertEqual(inspect.getsource(zip_pkg.foo), test_src)
95 test_src = inspect.getsource(test_doctest)
107 src = inspect.getsource(mod)
Dtest_inspect.py215 self.assertEqual(inspect.getsource(obj),
330 inspect.getsource(ns["x"])
424 self.assertRaises(IOError, inspect.getsource, unicodedata)
431 self.assertRaises(IOError, inspect.getsource, co)
434 self.assertEqual(inspect.getsource(co), lines[0])
440 self.assertRaises(IOError, inspect.getsource, co)
Dtest_zipimport.py319 self.assertEqual(inspect.getsource(module), test_src)
/external/python/cpython3/Lib/test/
Dtest_zipimport_support.py90 self.assertEqual(inspect.getsource(zip_pkg.foo), test_src)
100 test_src = inspect.getsource(test_doctest)
112 src = inspect.getsource(mod)
Dtest_inspect.py350 self.assertEqual(inspect.getsource(obj),
523 inspect.getsource(ns["x"])
627 self.assertRaises(OSError, inspect.getsource, unicodedata)
634 self.assertRaises(OSError, inspect.getsource, co)
638 self.assertEqual(inspect.getsource(co), lines[0])
646 self.assertRaises(IOError, inspect.getsource, co)
3747 self.assertEqual(lines[:-1], inspect.getsource(module).splitlines())
3765 inspect.getsource(ThreadPoolExecutor).splitlines())
3801 inspected_src = inspect.getsource(source)
Dtest_zipimport.py591 self.assertEqual(inspect.getsource(module), test_src)
/external/tensorflow/tensorflow/python/util/
Dtf_inspect.py333 def getsource(object): # pylint: disable=redefined-builtin function
335 return _inspect.getsource(tf_decorator.unwrap(object)[1])
Dtf_inspect_test.py528 expected, tf_inspect.getsource(test_decorated_function_with_defaults))
/external/python/cpython3/Misc/NEWS.d/
D3.5.0b4.rst132 Fixed an issue that caused `inspect.getsource` to return incorrect results
237 Fix inspect.getsource() for 'async def' functions. Patch by Kai Groner.
D3.5.0a1.rst311 Fix inspect.getsource() to support decorated functions. Patch by Claudiu
1239 Fix inspect.getsource() to load updated source of reloaded module. Initial
/external/chromium-trace/catapult/common/py_utils/py_utils/
D__init__.py123 return inspect.getsource(condition).strip()
/external/python/cpython2/Lib/
Dinspect.py701 def getsource(object): function
/external/python/cpython3/Lib/
Dinspect.py967 def getsource(object): function
3141 print(getsource(obj))
/external/tensorflow/tensorflow/tools/docs/
Dparser.py750 source = _remove_first_line_indent(tf_inspect.getsource(func))
/external/python/cpython2/Doc/library/
Dinspect.rst438 .. function:: getsource(object)
/external/python/cpython3/Doc/library/
Dinspect.rst503 .. function:: getsource(object)
/external/python/cpython2/Misc/NEWS.d/
D2.7a1.rst2788 inspect.findsource/getsource now raise an IOError if the 'source' file is a
4425 inspect.getsource() will now correctly display source code for packages
/external/python/setuptools/docs/
Deasy_install.txt614 (e.g. ``inspect.getsource()``)
/external/python/cpython3/Misc/
DHISTORY1097 - Issue #1218234: Fix inspect.getsource() to load updated source of
14778 - Issue #4050: inspect.findsource/getsource now raise an IOError if the 'source'
15801 - Issue #4223: inspect.getsource() will now correctly display source code
17015 - inspect.getsource() includes the decorators again.
19968 - Patch #1006219: let inspect.getsource handle '@' decorators. Thanks Simon
/external/python/cpython2/Misc/
DHISTORY2584 - Patch #1006219: let inspect.getsource handle '@' decorators. Thanks Simon