t.p.m._ZipMapImpl : class documentation

Part of twisted.python.modules View Source View In Hierarchy

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 2014-05-12 18:27:00.