def register_formats(formats):
 for (formatter_name, formatter_class_name) in formats:
  register_as(formatter_name, formatter_class_name)

def register_formats ( formats ) : for ( formatter_name , formatter_class_name ) in formats : register_as ( formatter_name , formatter_class_name )
register many format items into the registry .