(path, modname, desc)
| 2367 | def apropos(key): |
| 2368 | """Print all the one-line module summaries that contain a substring.""" |
| 2369 | def callback(path, modname, desc): |
| 2370 | if modname[-9:] == '.__init__': |
| 2371 | modname = modname[:-9] + ' (package)' |
| 2372 | print(modname, desc and '- ' + desc) |
| 2373 | def onerror(modname): |
| 2374 | pass |
| 2375 | with warnings.catch_warnings(): |
no test coverage detected