Lines Matching full:_filename
460 def getabsfile(object, _filename=None):
465 if _filename is None:
466 _filename = getsourcefile(object) or getfile(object)
467 return os.path.normcase(os.path.abspath(_filename))
472 def getmodule(object, _filename=None):
479 if _filename is not None and _filename in modulesbyfile:
480 return sys.modules.get(modulesbyfile[_filename])
483 file = getabsfile(object, _filename)