Need formatting suggestion for long strings

Robert Dailey rcdailey at
Fri Sep 5 22:12:25 CEST 2008

On Fri, Sep 5, 2008 at 2:29 PM, Jean-Paul Calderone <exarkun at>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).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list