(path, modname, desc)
| 2319 | def apropos(key): |
| 2320 | """Print all the one-line module summaries that contain a substring.""" |
| 2321 | def callback(path, modname, desc): |
| 2322 | if modname[-9:] == '.__init__': |
| 2323 | modname = modname[:-9] + ' (package)' |
| 2324 | print(modname, desc and '- ' + desc) |
| 2325 | def onerror(modname): |
| 2326 | pass |
| 2327 | with warnings.catch_warnings(): |
no test coverage detected