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

Method _subModuleName

src/twisted/python/modules.py:184–189  ·  view source on GitHub ↗

This is a hook to provide packages with the ability to specify their names as a prefix to submodules here.

(self, mn)

Source from the content-addressed store, hash-verified

182 yield from package.walkModules(importPackages=importPackages)
183
184 def _subModuleName(self, mn):
185 """
186 This is a hook to provide packages with the ability to specify their names
187 as a prefix to submodules here.
188 """
189 return mn
190
191 def _packagePaths(self):
192 """

Callers 2

iterModulesMethod · 0.95
__getitem__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected