MCPcopy Index your code
hub / github.com/RustPython/RustPython / onerror

Method onerror

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

Source from the content-addressed store, hash-verified

2245 if modname.find('.') < 0:
2246 modules[modname] = 1
2247 def onerror(modname):
2248 callback(None, modname, None)
2249 ModuleScanner().run(callback, onerror=onerror)
2250 self.list(modules.keys())
2251 self.output.write(''&#x27;

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected