parameters: (text)
return_statement: return text
docstring: Normalize to UNIX line endings.
  
    On Windows, writing to text file will duplicate \r\n to \r\r\n otherwise.
docstring_summary: Normalize to UNIX line endings.
docstring_tokens: Normalize to UNIX line endings .
function: def normalize_line_endings(text):
    """Normalize to UNIX line endings.
  
    On Windows, writing to text file will duplicate \r\n to \r\r\n otherwise.
    """
    if WINDOWS:
      return text.replace('\r\n', '\n')
    return text
function_tokens: def normalize_line_endings ( text ) : if WINDOWS : return text . replace ( '\r\n' , '\n' ) return text