PyDocs

Nav

Importing Modules

InspectLoader.is_package

  • InspectLoader.is_package(fullname)
Optional method which when implemented should return whether the
module is a package.  The fullname is a str.  Returns a bool.

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.is_package.
See Also
No see-alsos for importlib.abc/InspectLoader.is_package
0 Notes
No notes for InspectLoader.is_package