Searched refs:findsource (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython2/Lib/ |
D | inspect.py | 517 def findsource(object): function 590 lines, lnum = findsource(object) 689 lines, lnum = findsource(object) 1022 lines, lnum = findsource(frame)
|
/external/python/cpython2/Lib/test/ |
D | test_inspect.py | 425 self.assertRaises(IOError, inspect.findsource, unicodedata) 430 self.assertRaises(IOError, inspect.findsource, co) 433 self.assertEqual(inspect.findsource(co), (lines,0)) 439 self.assertRaises(IOError, inspect.findsource, co)
|
/external/tensorflow/tensorflow/python/util/ |
D | tf_inspect.py | 408 lines, lnum = _inspect.findsource(obj)
|
/external/python/cpython3/Lib/ |
D | inspect.py | 760 def findsource(object): function 839 lines, lnum = findsource(object) 955 lines, lnum = findsource(object) 1464 lines, lnum = findsource(frame) 3133 __, lineno = findsource(obj)
|
D | pdb.py | 106 lines, lineno = inspect.findsource(obj)
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.5.rst | 299 inspect.findsource(). Initial patch by Tyler Doyle.
|
D | 2.7.3rc1.rst | 1302 Allow inspect.findsource() to find the source of doctest functions.
|
D | 2.7a1.rst | 2788 inspect.findsource/getsource now raise an IOError if the 'source' file is a
|
/external/python/cpython3/Lib/test/ |
D | test_inspect.py | 628 self.assertRaises(OSError, inspect.findsource, unicodedata) 633 self.assertRaises(OSError, inspect.findsource, co) 637 self.assertEqual(inspect.findsource(co), (lines,0)) 645 self.assertRaises(IOError, inspect.findsource, co)
|
/external/python/cpython3/Misc/ |
D | HISTORY | 5158 inspect.findsource(). Initial patch by Tyler Doyle. 9499 - Issue #9284: Allow inspect.findsource() to find the source of doctest 14778 - Issue #4050: inspect.findsource/getsource now raise an IOError if the 'source'
|