def register_output_converter(output_type, converter):
 global OUTPUT_CONVERTER
 OUTPUT_CONVERTER[output_type] = converter

def register_output_converter ( output_type , converter ) : global OUTPUT_CONVERTER OUTPUT_CONVERTER [ output_type ] = converter
registers an output converter to the list of global output converters .