Lines Matching refs:module_globals
26 def getline(filename, lineno, module_globals=None): argument
30 lines = getlines(filename, module_globals)
36 def getlines(filename, module_globals=None): argument
46 return updatecache(filename, module_globals)
80 def updatecache(filename, module_globals=None): argument
99 if lazycache(filename, module_globals):
147 def lazycache(filename, module_globals): argument
168 if module_globals and '__name__' in module_globals:
169 name = module_globals['__name__']
170 if (loader := module_globals.get('__loader__')) is None:
171 if spec := module_globals.get('__spec__'):