Home
last modified time | relevance | path

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

/third_party/python/Lib/
Dinspect.py813 def getsourcefile(object): function
844 _filename = getsourcefile(object) or getfile(object)
940 file = getsourcefile(object)
1625 filename = getsourcefile(frame) or getfile(frame)
3290 print('Origin: {}'.format(getsourcefile(module)))
Ddoctest.py901 file = inspect.getsourcefile(obj)
/third_party/python/Lib/test/
Dtest_inspect.py369 with open(inspect.getsourcefile(self.fodderModule), encoding="utf-8") as fp:
516 self.assertEqual(normcase(inspect.getsourcefile(mod.spam)), modfile)
517 self.assertEqual(normcase(inspect.getsourcefile(git.abuse)), modfile)
520 self.assertEqual(inspect.getsourcefile(co), None)
523 self.assertEqual(normcase(inspect.getsourcefile(co)), fn)
573 self.assertEqual(inspect.getsourcefile(m.x.__code__), '<string>')
/third_party/python/Doc/library/
Dinspect.rst510 .. function:: getsourcefile(object)
/third_party/python/Misc/
DHISTORY13306 - Issue #8720: Fix regression caused by fix for #4050 by making getsourcefile