Need formatting suggestion for long strings
Robert Dailey
rcdailey at gmail.com
Fri Sep 5 16:12:25 EDT 2008
On Fri, Sep 5, 2008 at 2:29 PM, Jean-Paul Calderone <exarkun at divmod.com>wrote:
> mystring = (
> "This is a very long string that "
> "spans multiple lines and does "
> "not include line breaks or tabs "
> "from the source file between "
> "the strings partitions.")
At first glance it looks like this is making a tuple. I didn't know this was
legal! But, this is definitely what I was looking for (Assuming it works).
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080905/74553fca/attachment-0001.html>
More information about the Python-list
mailing list