Implements interfaces: twisted.python.modules.IPathImportMapper

IPathImportMapper implementation for zipimport.ZipImporter.

Method __init__ Undocumented
Method mapPath Map the given FS path to a ZipPath, by looking at the ZipImporter's "archive" attribute and using it as our ZipArchive root, then walking down into the archive from there.
def __init__(self, importer): (source)
Undocumented
def mapPath(self, fsPathString): (source)

Map the given FS path to a ZipPath, by looking at the ZipImporter's "archive" attribute and using it as our ZipArchive root, then walking down into the archive from there.

Returnsa zippath.ZipPath or zippath.ZipArchive instance.
API Documentation for Twisted, generated by pydoctor at 2018-07-14 04:53:34.