python-dev summary, July 16-31

François Pinard pinard at iro.umontreal.ca
Thu Aug 9 18:34:33 EDT 2001


[Thomas Bellman]

> There are a couple of other occasions where you *should* use parentheses,
> or you won't get what you want [... good examples deleted ...]

Of course.  *Then*, it is very worth writing them.

> >     for x in 1, 2, 3:
> >         pass

> Hmm, actually, on closer consideration, I think I would write
> it as
>     x = 3

> :-)

Yes.  I was not sure it was a good idea to write `pass' in my examples! :-)

-- 
François Pinard   http://www.iro.umontreal.ca/~pinard




More information about the Python-list mailing list