PyDocs

Nav

Importing Modules

InspectLoader

Abstract base class for loaders which support inspection about the
modules they can load.

This ABC represents one of the optional protocols specified by PEP 302.
Members of InspectLoader

e

exec_module
Execute the module.

g

get_code
Method which returns the code object for the module.
get_source
Abstract method which should return the source code for the module.

i

is_package
Optional method which when implemented should return whether the module is a package.

s

source_to_code
Compile 'data' into a code object.
0 Examples
No examples for importlib.abc/InspectLoader.
See Also
No see-alsos for importlib.abc/InspectLoader
0 Notes
No notes for InspectLoader