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

Function onerror

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

Source from the content-addressed store, hash-verified

2323 modname = modname[:-9] + ' (package)'
2324 print(modname, desc and '- ' + desc)
2325 def onerror(modname):
2326 pass
2327 with warnings.catch_warnings():
2328 warnings.filterwarnings('ignore') # ignore problems during import
2329 ModuleScanner().run(callback, key, onerror=onerror)

Callers 5

walkFunction · 0.70
_fwalkFunction · 0.70
walk_packagesFunction · 0.70
runMethod · 0.70
_feedMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected