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

Method callback

Lib/pydoc.py:2194–2198  ·  view source on GitHub ↗
(path, modname, desc, modules=modules)

Source from the content-addressed store, hash-verified

2192''')
2193 modules = {}
2194 def callback(path, modname, desc, modules=modules):
2195 if modname and modname[-9:] == '.__init__':
2196 modname = modname[:-9] + ' (package)'
2197 if modname.find('.') < 0:
2198 modules[modname] = 1
2199 def onerror(modname):
2200 callback(None, modname, None)
2201 ModuleScanner().run(callback, onerror=onerror)

Callers 3

server_activateMethod · 0.45
_close_pipe_fdsMethod · 0.45
take_actionMethod · 0.45

Calls 1

findMethod · 0.45

Tested by

no test coverage detected