Searched refs:getsource (Results 1 – 21 of 21) sorted by relevance
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | compiler_test.py | 45 textwrap.dedent(tf_inspect.getsource(test_fn)), 46 tf_inspect.getsource(
|
/external/python/cpython2/Lib/test/ |
D | test_zipimport_support.py | 87 self.assertEqual(inspect.getsource(zip_pkg.foo), test_src) 95 test_src = inspect.getsource(test_doctest) 107 src = inspect.getsource(mod)
|
D | test_inspect.py | 215 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)
|
D | test_zipimport.py | 319 self.assertEqual(inspect.getsource(module), test_src)
|
/external/python/cpython3/Lib/test/ |
D | test_zipimport_support.py | 90 self.assertEqual(inspect.getsource(zip_pkg.foo), test_src) 100 test_src = inspect.getsource(test_doctest) 112 src = inspect.getsource(mod)
|
D | test_inspect.py | 350 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)
|
D | test_zipimport.py | 591 self.assertEqual(inspect.getsource(module), test_src)
|
/external/tensorflow/tensorflow/python/util/ |
D | tf_inspect.py | 333 def getsource(object): # pylint: disable=redefined-builtin function 335 return _inspect.getsource(tf_decorator.unwrap(object)[1])
|
D | tf_inspect_test.py | 528 expected, tf_inspect.getsource(test_decorated_function_with_defaults))
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0b4.rst | 132 Fixed an issue that caused `inspect.getsource` to return incorrect results 237 Fix inspect.getsource() for 'async def' functions. Patch by Kai Groner.
|
D | 3.5.0a1.rst | 311 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__.py | 123 return inspect.getsource(condition).strip()
|
/external/python/cpython2/Lib/ |
D | inspect.py | 701 def getsource(object): function
|
/external/python/cpython3/Lib/ |
D | inspect.py | 967 def getsource(object): function 3141 print(getsource(obj))
|
/external/tensorflow/tensorflow/tools/docs/ |
D | parser.py | 750 source = _remove_first_line_indent(tf_inspect.getsource(func))
|
/external/python/cpython2/Doc/library/ |
D | inspect.rst | 438 .. function:: getsource(object)
|
/external/python/cpython3/Doc/library/ |
D | inspect.rst | 503 .. function:: getsource(object)
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7a1.rst | 2788 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/ |
D | easy_install.txt | 614 (e.g. ``inspect.getsource()``)
|
/external/python/cpython3/Misc/ |
D | HISTORY | 1097 - 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/ |
D | HISTORY | 2584 - Patch #1006219: let inspect.getsource handle '@' decorators. Thanks Simon
|