Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_inspect.py206 with open(inspect.getsourcefile(self.fodderFile)) as fp:
294 self.assertEqual(inspect.getsourcefile(mod.spam), modfile)
295 self.assertEqual(inspect.getsourcefile(git.abuse), modfile)
298 self.assertEqual(inspect.getsourcefile(co), None)
300 self.assertEqual(inspect.getsourcefile(co), fn)
312 self.assertEqual(inspect.getsourcefile(m.x.func_code), '<string>')
/external/python/cpython2/Lib/
Dinspect.py439 def getsourcefile(object): function
465 _filename = getsourcefile(object) or getfile(object)
526 sourcefile = getsourcefile(object)
1008 filename = getsourcefile(frame) or getfile(frame)
Ddoctest.py896 file = inspect.getsourcefile(obj) or inspect.getfile(obj)
/external/antlr/antlr-3.4/runtime/Python/
Dez_setup.py205 srcfile = inspect.getsourcefile(sys.modules[__name__])
/external/ply/ply/ply/
Dlex.py853 filename = inspect.getsourcefile(module)
Dyacc.py3017 filename = inspect.getsourcefile(module)
3157 file = inspect.getsourcefile(module)
/external/python/cpython2/Doc/library/
Dinspect.rst421 .. function:: getsourcefile(object)
/external/python/cpython2/Misc/
DNEWS6068 - Issue #8720: fix regression caused by fix for #4050 by making getsourcefile