code: def unzip(filename, root, verbose=True):
    
    for message in _unzip_iter(filename, root, verbose):
      if isinstance(message, ErrorMessage):
        raise Exception(message)
docs: Extract the contents of the zip file ``filename`` into the
    directory ``root``.