[Python-ideas] triple-quoted strings and indendation

Greg Ewing greg.ewing at canterbury.ac.nz
Thu May 12 00:40:45 CEST 2011


Terry Reedy wrote:
> If I were using textwrap.dedent much, I might give it a short nickname 
> like 'de'

Wild idea: make the unary + operator on strings do
textwrap.dedent() on them.

-- 
Greg



More information about the Python-ideas mailing list