Home
last modified time | relevance | path

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

/third_party/python/Lib/
Dinspect.py932 def findsource(object): function
1006 lines, lnum = findsource(object)
1129 lines, lnum = findsource(object)
1629 lines, lnum = findsource(frame)
3298 __, lineno = findsource(obj)
Dpdb.py108 lines, lineno = inspect.findsource(obj)
/third_party/python/Lib/test/
Dtest_inspect.py718 self.assertRaises(OSError, inspect.findsource, unicodedata)
723 self.assertRaises(OSError, inspect.findsource, co)
727 self.assertEqual(inspect.findsource(co), (lines,0))
735 self.assertRaises(IOError, inspect.findsource, co)
747 inspect.findsource(func)
/third_party/python/Misc/NEWS.d/
D3.10.0a3.rst283 :func:`inspect.findsource` now raises :exc:`OSError` instead of
/third_party/python/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'