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

Method callback

tools/python-3.11.9-amd64/Lib/pydoc.py:2290–2294  ·  view source on GitHub ↗
(path, modname, desc, modules=modules)

Source from the content-addressed store, hash-verified

2288''')
2289 modules = {}
2290 def callback(path, modname, desc, modules=modules):
2291 if modname and modname[-9:] == '.__init__':
2292 modname = modname[:-9] + ' (package)'
2293 if modname.find('.') < 0:
2294 modules[modname] = 1
2295 def onerror(modname):
2296 callback(None, modname, None)
2297 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