[Python-3000] Lines breaking

Ivan Krstić krstic at solarsail.hcs.harvard.edu
Tue May 29 10:26:15 CEST 2007


Guido van Rossum wrote:
> What would that do?

It would split on all separators in the tuple, so

    x.split(("\r", "\n"))

would do the same thing that x.splitlines() does now.

-- 
Ivan Krstić <krstic at solarsail.hcs.harvard.edu> | GPG: 0x147C722D


More information about the Python-3000 mailing list