human
Complete this python program:
def apropos(key):
assistant
#Here is the Python program you requested.

    """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
    try:
        import warnings
    except ImportError:
        pass
    else:
        warnings.filterwarnings('ignore')
    ModuleScanner().run(callback, key, onerror=onerror)