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

Function onerror

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

Source from the content-addressed store, hash-verified

2275 modname = modname[:-9] + ' (package)'
2276 print(modname, desc and '- ' + desc)
2277 def onerror(modname):
2278 pass
2279 with warnings.catch_warnings():
2280 warnings.filterwarnings('ignore') # ignore problems during import
2281 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…