MCPcopy Index your code
hub / github.com/python/cpython / iter_importer_modules

Function iter_importer_modules

Lib/pkgutil.py:121–124  ·  view source on GitHub ↗
(importer, prefix='')

Source from the content-addressed store, hash-verified

119
120@simplegeneric
121def iter_importer_modules(importer, prefix=''):
122 if not hasattr(importer, 'iter_modules'):
123 return []
124 return importer.iter_modules(prefix)
125
126
127# Implement a file walker for the normal importlib path hook

Callers 1

iter_modulesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…