Staging: this is not the live site, pydocs.org.
Loader for extension modules.
The constructor is designed to work with FileFinder.
Changed in 3.12
- 3.12: Multi-phase init is now required for use in subinterpreters.
Members of ExtensionFileLoader
g
- get_code
- Return None as an extension module cannot create a code object.
- get_filename
- Return the path to the source file as found by the finder.
- get_source
- Return None as extension modules have no source code.
i
- is_package
- Return True if the extension module is a package.
n
- name
- Name of the module the loader supports.
p
- path
- Path to the extension module.