On Friday, December 13, 2013 10:21:20 PM Brian Dolbec wrote:
> On Fri, 2013-12-13 at 21:14 -0800, Matt Turner wrote:
> > On Fri, Dec 13, 2013 at 7:07 PM, Brian Dolbec <[email protected]> wrote:
> > > -                       print "Using command line specified Catalyst
> > > configuration file, "+myconfig +                       print "Using
> > > command line specified Catalyst configuration file, "+\> 
> > No need to add \
> > 
> > (same comment applies elsewhere)
> 
> General rule is if you are making something multiline, it needs to be
> enclosed in ()'s or []'s, etc..  I'm quite certain that the old print
> statement needs the line continuation "\" symbol since there are no ()'s
> enclosing all blocks to be printed.  That may have changed at some point
> so that it is not required in more recent python versions.  Actually
> when using the newer python()  you don't even need to use + between
> blocks of text on multiple lines.

You are perfectly free to use () with the print keyword in python 2.x

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to