[Python-3000] Lines breaking (original) (raw)
Georg Brandl g.brandl at gmx.net
Tue May 29 08:28:25 CEST 2007
- Previous message: [Python-3000] Lines breaking
- Next message: [Python-3000] Lines breaking
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Neal Norwitz schrieb:
On 5/28/07, Guido van Rossum <guido at python.org> wrote:
Well, I would have complained about that too, except I was too busy when splitlines() was snuck into the language behind my back. :-) I Heh, just today I was wondering if we should kill splitlines:
And perhaps add tuple parameters to .split()?
x.split(("\r", "\n"))
Georg
-- Thus spake the Lord: Thou shalt indent with four spaces. No more, no less. Four shall be the number of spaces thou shalt indent, and the number of thy indenting shall be four. Eight shalt thou not indent, nor either indent thou two, excepting that thou then proceed to four. Tabs are right out.
- Previous message: [Python-3000] Lines breaking
- Next message: [Python-3000] Lines breaking
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]