[Python-ideas] Implicit String Concatenation (original) (raw)
Georg Brandl g.brandl at gmx.net
Fri Apr 13 10:40:17 CEST 2007
- Previous message: [Python-ideas] Implicit String Concatenation
- Next message: [Python-ideas] Implicit String Concatenation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Josiah Carlson schrieb:
Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
Does anyone have a use case where they need the indentation to be preserved? (As opposed to just not caring whether it's there or not.) Not personally. I think that telling people to use textwrap.dedent() is sufficient. Generally I'm -.5 on the change.
I've already suggested at one time that a dedent() method be added to strings, which would make it more obvious, but what is one import...
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-ideas] Implicit String Concatenation
- Next message: [Python-ideas] Implicit String Concatenation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]