Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/
Dinspect.py517 def findsource(object): function
590 lines, lnum = findsource(object)
689 lines, lnum = findsource(object)
1022 lines, lnum = findsource(frame)
/external/python/cpython2/Lib/test/
Dtest_inspect.py425 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/
Dtf_inspect.py408 lines, lnum = _inspect.findsource(obj)
/external/python/cpython3/Lib/
Dinspect.py760 def findsource(object): function
839 lines, lnum = findsource(object)
955 lines, lnum = findsource(object)
1464 lines, lnum = findsource(frame)
3133 __, lineno = findsource(obj)
Dpdb.py106 lines, lineno = inspect.findsource(obj)
/external/python/cpython2/Misc/NEWS.d/
D2.7.5.rst299 inspect.findsource(). Initial patch by Tyler Doyle.
D2.7.3rc1.rst1302 Allow inspect.findsource() to find the source of doctest functions.
D2.7a1.rst2788 inspect.findsource/getsource now raise an IOError if the 'source' file is a
/external/python/cpython3/Lib/test/
Dtest_inspect.py628 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/
DHISTORY5158 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'