#NEWLINE# def get_archive_formats( ) : #NEWLINE# #INDENT# 'Returns a list of supported formats for archiving and unarchiving.\n\n    Each element of the returned sequence is a tuple (name, description)\n    ' #NEWLINE# formats = [ ( name , registry [ 2 ] ) for ( name , registry ) in _ARCHIVE_FORMATS . items ( ) ] #NEWLINE# formats . sort ( ) #NEWLINE# return formats