class twisted.python.modules._ZipMapImpl: (source)
Implements interfaces: twisted.python.modules.IPathImportMapper
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. |
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. |