PyDocs

Nav

Importing Modules

InspectLoader.get_source

  • InspectLoader.get_source(fullname)
Abstract method which should return the source code for the
module.  The fullname is a str.  Returns a str.

Raises ImportError if the module cannot be found.
Changed in 3.4
  • 3.4: Raises ImportError instead of NotImplementedError.
0 Examples
No examples for importlib.abc/InspectLoader.get_source.
See Also
No see-alsos for importlib.abc/InspectLoader.get_source
0 Notes
No notes for InspectLoader.get_source