parameters: (key)
docstring: Print all the one-line module summaries that contain a substring.
docstring_summary: Print all the one-line module summaries that contain a substring.
docstring_tokens: Print all the one - line module summaries that contain a substring .
function: def apropos(key):
      """Print all the one-line module summaries that contain a substring."""
      def callback(path, modname, desc):
          if modname[-9:] == '.__init__':
              modname = modname[:-9] + ' (package)'
          print(modname, desc and '- ' + desc)
      def onerror(modname):
          pass
      with warnings.catch_warnings():
          warnings.filterwarnings('ignore') # ignore problems during import
          ModuleScanner().run(callback, key, onerror=onerror)
function_tokens: def apropos ( key ) : def callback ( path , modname , desc ) : if modname [ - 9 : ] == '.__init__' : modname = modname [ : - 9 ] + ' (package)' print ( modname , desc and '- ' + desc ) def onerror ( modname ) : pass with warnings . catch_warnings ( ) : warnings . filterwarnings ( 'ignore' ) # ignore problems during import ModuleScanner ( ) . run ( callback , key , onerror = onerror )