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

Function onerror

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

Source from the content-addressed store, hash-verified

2371 modname = modname[:-9] + ' (package)'
2372 print(modname, desc and '- ' + desc)
2373 def onerror(modname):
2374 pass
2375 with warnings.catch_warnings():
2376 warnings.filterwarnings('ignore') # ignore problems during import
2377 ModuleScanner().run(callback, key, onerror=onerror)

Callers 4

_walkFunction · 0.70
_fwalkFunction · 0.70
walk_packagesFunction · 0.70
runMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected