class documentation

class twisted.python.modules._DefaultMapImpl: (source)

Implements interfaces: twisted.python.modules.IPathImportMapper

View In Hierarchy

Wrapper for the default importer, i.e. None.

Method mapPath Return a FilePath-like object.
def mapPath(self, fsPathString): (source)

Return a FilePath-like object.

ParametersfsPathStringUndocumented
pathLikeStringa path-like string, like one that might be passed to an import hook.
Returnsa FilePath, or something like it (currently only a ZipPath, but more might be added later).
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.