def get_archive_formats():
 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
returns a list of supported formats for archiving and unarchiving .