class documentation

class _ZipMapImpl: (source)

Implements interfaces: twisted.python.modules.IPathImportMapper

View In Hierarchy

IPathImportMapper implementation for zipimport.ZipImporter.

Method __init__ Undocumented
Instance Variable importer 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

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 21.2.0 at 2021-02-28 21:00:42.