Home
last modified time | relevance | path

Searched refs:findsource (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Lib/
Dinspect.py517 def findsource(object): function
590 lines, lnum = findsource(object)
689 lines, lnum = findsource(object)
1012 lines, lnum = findsource(frame)
/external/python/cpython2/Lib/test/
Dtest_inspect.py414 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/
DNEWS3005 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'