t.p.m.PathEntry(_ModuleIteratorHelper) : class documentation

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

I am a proxy for a single entry on sys.path.
Instance Variable filePath a FilePath-like object pointing at the filesystem location or archive file where this path entry is stored.
Instance Variable pythonPath a PythonPath instance.
Method __init__ Create a PathEntry. This is a private constructor.
Method __repr__ Undocumented
Method _getEntry Implement in subclasses to specify what path entry submodules will come from.
Method _packagePaths Implement in subclasses to specify where to look for modules.

Inherited from _ModuleIteratorHelper:

Method iterModules Loop over the modules present below this entry or package on PYTHONPATH.
Method walkModules Similar to iterModules, this yields self, and then every module in my package or entry, and every submodule in each package or entry.
Method __getitem__ Retrieve a module from below this path or package.
Method __iter__ Implemented to raise NotImplementedError for clarity, so that attempting to loop over this object won't call __getitem__.
Method _subModuleName This is a hook to provide packages with the ability to specify their names as a prefix to submodules here.
filePath =
a FilePath-like object pointing at the filesystem location or archive file where this path entry is stored.
pythonPath =
a PythonPath instance.
def __init__(self, filePath, pythonPath): (source)
Create a PathEntry. This is a private constructor.
def _getEntry(self): (source)
Implement in subclasses to specify what path entry submodules will come from.
Returnsa PathEntry instance.
def __repr__(self): (source)
Undocumented
def _packagePaths(self): (source)
Implement in subclasses to specify where to look for modules.
Returnsiterable of FilePath-like objects.
API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.