original_docstring: 
      Exact contents of JSON error messages depend on the installed version
      of json.
      
docstring: Exact contents of JSON error messages depend on the installed version
  of json.
docstring_tokens: Exact contents of JSON error messages depend on the installed version of json .
code: def sanitise_json_error(error_dict):
      """
      Exact contents of JSON error messages depend on the installed version
      of json.
      """
      ret = copy.copy(error_dict)
      chop = len('JSON parse error - No JSON object could be decoded')
      ret['detail'] = ret['detail'][:chop]
      return ret
code_tokens: def sanitise_json_error ( error_dict ) : ret = copy . copy ( error_dict ) chop = len ( 'JSON parse error - No JSON object could be decoded' ) ret [ 'detail' ] = ret [ 'detail' ] [ : chop ] return ret
short_docstring: Exact contents of JSON error messages depend on the installed version
  of json.
short_docstring_tokens: Exact contents of JSON error messages depend on the installed version of json .
comment: """
      Exact contents of JSON error messages depend on the installed version
      of json.
      """