code: def register(name, format_class):
      """Register a new format.
  
      :param str name: The name that will be used to refer to the format, e.g. 'csv'
      :param type format_class: The format class to register.
      """
      get_registry()[name] = format_class
  
imports: from __future__ import absolute_import
  import json
  from collections import OrderedDict
  from textblob.compat import PY2, csv
  from textblob.utils import is_filelike
label_desc: Use image node_id 3 for calling a global function with example usage: register(name, format_class) without return types