()
return formats
Returns a list of supported formats for archiving and unarchiving.

    Each element of the returned sequence is a tuple (name, description)
Returns a list of supported formats for archiving and unarchiving.
Returns a list of supported formats for archiving and unarchiving .
def get_archive_formats():
    """Returns a list of supported formats for archiving and unarchiving.

    Each element of the returned sequence is a tuple (name, description)
    """
    formats = [(name, registry[2]) for name, registry in
               _ARCHIVE_FORMATS.items()]
    formats.sort()
    return formats
def get_archive_formats ( ) : formats = [ ( name , registry [ 2 ] ) for name , registry in _ARCHIVE_FORMATS . items ( ) ] formats . sort ( ) return formats