parameters: (line, offset, replacement)
docstring: Replace whitespace at offset and return fixed line.
docstring_summary: Replace whitespace at offset and return fixed line.
docstring_tokens: Replace whitespace at offset and return fixed line .
function: def fix_whitespace(line, offset, replacement):
      """Replace whitespace at offset and return fixed line."""
      # Replace escaped newlines too
      left = line[:offset].rstrip('\n\r \t\\')
      right = line[offset:].lstrip('\n\r \t\\')
      if right.startswith('#'):
          return line
      else:
          return left + replacement + right
function_tokens: def fix_whitespace ( line , offset , replacement ) : # Replace escaped newlines too left = line [ : offset ] . rstrip ( '\n\r \t\\' ) right = line [ offset : ] . lstrip ( '\n\r \t\\' ) if right . startswith ( '#' ) : return line else : return left + replacement + right