code: def tsv_trdict(vs):
      'returns string.translate dictionary for replacing tabs and newlines'
      if options.safety_first:
          delim = options.get('delimiter', vs)
          return {ord(delim): options.get('tsv_safe_tab', vs), # \t
              10: options.get('tsv_safe_newline', vs),  # \n
              13: options.get('tsv_safe_newline', vs),  # \r
              }
      return {f tsv_trdict(vs):
      'returns string.translate dictionary for replacing tabs and newlines'
      if options.safety_first:
          delim = options.get('delimiter', vs)
          return {ord(delim): options.get('tsv_safe_tab', vs), # \t
              10: options.get('tsv_safe_newline', vs),  # \n
              13: options.get('tsv_safe_newline', vs),  # \r
              }
      return {}
docs: returns string.translate dictionary for replacing tabs and newlines