| Home | Trees | Indices | Help |
|
|---|
|
|
This is a special module finder object that executes a collection of
callables when a specific module has been imported. An instance of this
is placed in sys.meta_path, which is consulted before
sys.modules - allowing us to provide this functionality.
See Also: when_imported
Since: 0.5
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
loaded_moduleslist of modules that this finder has seen.
|
|||
post_load_hooksdict of full module path -> callable to
be executed when the module is imported.
|
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
Called when an import is made. If there are hooks waiting for this module to be imported then we stop the normal import process and manually load the module.
|
If we get this far, then there are hooks waiting to be called on import of this module. We manually load the module and then run the hooks.
|
See Also: when_imported |
|
|||
loaded_moduleslist of modules that this finder has seen. Used to stop
recursive imports in load_module
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Jul 18 11:44:02 2011 | http://epydoc.sourceforge.net |