[Python-ideas] Implicit String Concatenation
Jan Kanis
jan.kanis at phil.uu.nl
Thu Apr 12 11:53:58 CEST 2007
On Wed, 11 Apr 2007 23:54:11 +0200, Terry Reedy <tjreedy at udel.edu> wrote:
> | what I'm proposing is the following:
> |
> | x = 'foo
> | 'bar
> | 'baz'
>
> -1 Looks ugly to me ;-)
Indeed, I don't really like this syntax. I do like if there'd be a way to
spell 'multiline string with indentation chopped off'. The easiest way
(syntax-wise) would be to just have tripple quote do that, but that's
gonna give backward compat problems.
Jan
More information about the Python-ideas
mailing list