parameters: (type, data)
return_statement: return writetype_funcs[type](data)
docstring: Writes a formatted string from a value of a specified type.
  
     Args:
        type: The data type of the value.
        data: The value to be read in.
  
     Raises:
        TypeError: Raised if it tries to write from a data type that has not been
           implemented.
  
     Returns:
        A formatted string.
docstring_summary: Writes a formatted string from a value of a specified type.
docstring_tokens: Writes a formatted string from a value of a specified type .
function: def write_type(type, data):
     """Writes a formatted string from a value of a specified type.
  
     Args:
        type: The data type of the value.
        data: The value to be read in.
  
     Raises:
        TypeError: Raised if it tries to write from a data type that has not been
           implemented.
  
     Returns:
        A formatted string.
     """
  
     if not type in writetype_funcs:
        raise TypeError("Conversion not available for given type")
     return writetype_funcs[type](data)
function_tokens: def write_type ( type , data ) : if not type in writetype_funcs : raise TypeError ( "Conversion not available for given type" ) return writetype_funcs [ type ] ( data )