Home
last modified time | relevance | path

Searched refs:findsource (Results 1 – 12 of 12) 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/python/cpython3/Misc/NEWS.d/
D3.9.1.rst32 :func:`inspect.findsource` now raises :exc:`OSError` instead of
/external/tensorflow/tensorflow/python/autograph/pyct/
Dinspect_utils.py151 lines, lnum = inspect.findsource(obj)
/external/python/cpython3/Lib/
Dinspect.py809 def findsource(object): function
883 lines, lnum = findsource(object)
1006 lines, lnum = findsource(object)
1503 lines, lnum = findsource(frame)
3180 __, lineno = findsource(obj)
Dpdb.py108 lines, lineno = inspect.findsource(obj)
/external/tensorflow/tensorflow/python/autograph/g3doc/reference/
Dlimitations.md710 [inspect.findsource](https://docs.python.org/3/library/inspect.html#inspect.findsource)
723 inspect.findsource(simple_function)
/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.py693 self.assertRaises(OSError, inspect.findsource, unicodedata)
698 self.assertRaises(OSError, inspect.findsource, co)
702 self.assertEqual(inspect.findsource(co), (lines,0))
710 self.assertRaises(IOError, inspect.findsource, co)
722 inspect.findsource(func)
/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'