Show up archive link

Thomas Arendsen Hein thomas at intevation.de
Thu Jun 1 16:41:03 CDT 2006


* TK Soh <teekaysoh at gmail.com> [20060601 19:49]:
> On 6/1/06, Thomas Arendsen Hein <thomas at intevation.de> wrote:
> 
> >(the lines got so long that I had to split them up anyway).
> 
> That's where I didn't know what to do. Thanks for showing me.

Even these two notations work:

x = 'foo ' """ba""" "r baz" . split ( )

x = ('foo '
     """ba"""
     "r baz"
     .
     split
     ()
    )

Though this is obviously ugly.

Another thing is that Python supports "\" at the eol to join lines,
but using parens looks cleaner to me.

Thomas

-- 
Email: thomas at intevation.de
http://intevation.de/~thomas/


More information about the Mercurial mailing list