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

Method onerror

Lib/pydoc.py:2199–2200  ·  view source on GitHub ↗
(modname)

Source from the content-addressed store, hash-verified

2197 if modname.find('.') < 0:
2198 modules[modname] = 1
2199 def onerror(modname):
2200 callback(None, modname, None)
2201 ModuleScanner().run(callback, onerror=onerror)
2202 self.list(modules.keys())
2203 self.output.write(''&#x27;

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected