Class importer<T>

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    ClasspathPyImporter, zipimporter

    public abstract class importer<T>
    extends PyObject
    A base class for PEP-302 path hooks. Handles looking through source, compiled, package and module items in the right order, and creating and filling in modules.
    See Also:
    Serialized Form
    • Constructor Detail

      • importer

        public importer​(PyType subType)
      • importer

        public importer()
    • Method Detail

      • get_data

        public abstract java.lang.String get_data​(java.lang.String path)
        Return the bytes for the data located at path.