MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / onerror

Method onerror

tools/python-3.11.9-amd64/Lib/pydoc.py:2295–2296  ·  view source on GitHub ↗
(modname)

Source from the content-addressed store, hash-verified

2293 if modname.find('.') < 0:
2294 modules[modname] = 1
2295 def onerror(modname):
2296 callback(None, modname, None)
2297 ModuleScanner().run(callback, onerror=onerror)
2298 self.list(modules.keys())
2299 self.output.write(''&#x27;

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected