python-dev summary, July 16-31

François Pinard pinard at iro.umontreal.ca
Fri Aug 10 00:34:33 CEST 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