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

Method isPackage

src/twisted/python/modules.py:368–373  ·  view source on GitHub ↗

Returns true if this module is also a package, and might yield something from iterModules.

(self)

Source from the content-addressed store, hash-verified

366 yield PythonAttribute(self.name + "." + name, self, True, val)
367
368 def isPackage(self):
369 """
370 Returns true if this module is also a package, and might yield something
371 from iterModules.
372 """
373 return _isPackagePath(self.filePath)
374
375 def load(self, default=_nothing):
376 """

Callers 2

walkModulesMethod · 0.95
_packagePathsMethod · 0.95

Calls 1

_isPackagePathFunction · 0.85

Tested by

no test coverage detected