In article <[EMAIL PROTECTED]>,
 "Sam Pointon" <[EMAIL PROTECTED]> wrote:

> > print "a string which is very loooooo" \
> >     + "ooooong."
> 
> Minor pedantry, but the plus sign is redundant. Python automatically
> concatenates string literals on the same logical line separated by only
> whitespace.
> 

While we're at it, I use bracketing instead of line continuation:

    print ( "a long string, longer than this "
            "and some more of the string" )
________________________________________________________________________
TonyN.:'                        [EMAIL PROTECTED]
      '                                  <http://www.georgeanelson.com/>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to