Home
last modified time | relevance | path

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

/external/python/cpython2/Tools/freeze/
Dfreeze.py353 mf.import_hook(mod)
360 mf.import_hook(mod[:-2], None, ["*"])
362 mf.import_hook(mod)
/external/python/cpython2/Lib/
Dmodulefinder.py142 def import_hook(self, name, caller=None, fromlist=None, level=-1): member in ModuleFinder
342 self.import_hook(name, caller, level=level)
353 self.import_hook(name, caller, [sub], level=level)
665 mf.import_hook(arg[:-2], None, ["*"])
667 mf.import_hook(arg)
/external/python/cpython2/Lib/test/
Dtest_modulefinder.py232 mf.import_hook(import_this)
/external/python/cpython2/Doc/library/
Dimputil.rst118 def import_hook(name, globals=None, locals=None, fromlist=None):
229 __builtin__.__import__ = import_hook
/external/python/cpython2/Lib/plat-mac/
Dbundlebuilder.py636 mf.import_hook("zlib")
643 mf.import_hook("warnings")
650 mf.import_hook(name)