MCPcopy Create free account
hub / github.com/twisted/twisted / iterEntries

Method iterEntries

src/twisted/python/modules.py:679–687  ·  view source on GitHub ↗

Iterate the entries on my sysPath. @return: a generator yielding PathEntry objects

(self)

Source from the content-addressed store, hash-verified

677 return IPathImportMapper(importr, _theDefaultMapper).mapPath(pathName)
678
679 def iterEntries(self):
680 """
681 Iterate the entries on my sysPath.
682
683 @return: a generator yielding PathEntry objects
684 """
685 for pathName in self.sysPath:
686 fp = self._smartPath(pathName)
687 yield PathEntry(fp, self)
688
689 def __getitem__(self, modname):
690 """

Callers 2

iterModulesMethod · 0.95

Calls 2

_smartPathMethod · 0.95
PathEntryClass · 0.85

Tested by 1