[Python-ideas] Implicit string literal concatenation considered harmful?
Alexander Belopolsky
alexander.belopolsky at gmail.com
Sat May 11 02:08:00 CEST 2013
On Fri, May 10, 2013 at 7:57 PM, Guido van Rossum <guido at python.org> wrote:
> I think you could live with
>
> x = ('foo\n' +
> 'bar\n' +
> 'baz\n'
> )
>
> as well... (Extra points if you figure out how to have a + on the last
> line too. :-)
Does this earn a point?
x = (+ 'foo\n'
+ 'bar\n'
+ 'baz\n'
)
:-))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130510/fd33740f/attachment.html>
More information about the Python-ideas
mailing list