[Python-3000] Lines breaking (original) (raw)
Ivan Krstić krstic at solarsail.hcs.harvard.edu
Tue May 29 10:26:15 CEST 2007
- Previous message: [Python-3000] Lines breaking
- Next message: [Python-3000] Lines breaking
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-3000] Lines breaking
- Next message: [Python-3000] Lines breaking
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]