Staging: this is not the live site, pydocs.org.
Loader which handles sourceless file imports.
Changed in 3.15
- 3.15: Removed the load_module() method.
Members of SourcelessFileLoader
g
- get_code
- Returns the code object for name created from path.
i
- is_package
- Concrete implementation of InspectLoader.is_package by checking if the path returned by get_filename has a filename of '__init__.py'.
n
- name
- The name of the module the loader will handle.
p
- path
- The path to the bytecode file.