class documentation

class _ZipMapImpl: (source)

Constructor: _ZipMapImpl(importer)

Implements interfaces: twisted.python.modules.IPathImportMapper

View In Hierarchy

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

Returns
a zippath.ZipPath or zippath.ZipArchive instance.
importer = (source)

Undocumented