Searched refs:getsource (Results 1 – 8 of 8) sorted by relevance
/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 | 214 self.assertEqual(inspect.getsource(obj), 329 inspect.getsource(ns["x"]) 413 self.assertRaises(IOError, inspect.getsource, unicodedata) 420 self.assertRaises(IOError, inspect.getsource, co) 423 self.assertEqual(inspect.getsource(co), lines[0]) 429 self.assertRaises(IOError, inspect.getsource, co)
|
D | test_zipimport.py | 319 self.assertEqual(inspect.getsource(module), test_src)
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | __init__.py | 107 return inspect.getsource(condition).strip()
|
/external/python/cpython2/Lib/ |
D | inspect.py | 694 def getsource(object): function
|
/external/python/cpython2/Doc/library/ |
D | inspect.rst | 438 .. function:: getsource(object)
|
/external/python/cpython2/Misc/ |
D | NEWS | 8127 - Issue #4050: inspect.findsource/getsource now raise an IOError if the 'source' 8617 - Issue #4223: inspect.getsource() will now correctly display source code for
|
D | HISTORY | 2584 - Patch #1006219: let inspect.getsource handle '@' decorators. Thanks Simon
|