Searched refs:findsource (Results 1 – 3 of 3) 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) 1012 lines, lnum = findsource(frame)
|
/external/python/cpython2/Lib/test/ |
D | test_inspect.py | 414 self.assertRaises(IOError, inspect.findsource, unicodedata) 419 self.assertRaises(IOError, inspect.findsource, co) 422 self.assertEqual(inspect.findsource(co), (lines,0)) 428 self.assertRaises(IOError, inspect.findsource, co)
|
/external/python/cpython2/Misc/ |
D | NEWS | 3005 inspect.findsource(). Initial patch by Tyler Doyle. 4621 - Issue #9284: Allow inspect.findsource() to find the source of doctest 8127 - Issue #4050: inspect.findsource/getsource now raise an IOError if the 'source'
|