(text)
return NON_UNIX_LINEBREAK.sub('\n', text)
Replace non-Unix linebreak sequences (Windows, Mac, Unicode) with newlines (\\n).
Replace non-Unix linebreak sequences (Windows, Mac, Unicode) with newlines (\\n).
Replace non - Unix linebreak sequences ( Windows Mac Unicode ) with newlines ( \\ n ) .
def to_unix_linebreaks(text):
    """Replace non-Unix linebreak sequences (Windows, Mac, Unicode) with newlines (\\n)."""
    return NON_UNIX_LINEBREAK.sub('\n', text)
def to_unix_linebreaks ( text ) : return NON_UNIX_LINEBREAK . sub ( '\n' , text )