Searched refs:getsourcefile (Results 1 – 5 of 5) sorted by relevance
813 def getsourcefile(object): function844 _filename = getsourcefile(object) or getfile(object)940 file = getsourcefile(object)1625 filename = getsourcefile(frame) or getfile(frame)3290 print('Origin: {}'.format(getsourcefile(module)))
901 file = inspect.getsourcefile(obj)
369 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>')
510 .. function:: getsourcefile(object)
13306 - Issue #8720: Fix regression caused by fix for #4050 by making getsourcefile