[Python-Dev] Re: anonymous blocks
Greg Ewing
greg.ewing at canterbury.ac.nz
Fri Apr 29 06:46:56 CEST 2005
Steven Bethard wrote:
> """
> A block-statement is much like a for-loop, and is also used to iterate
> over the elements of an iterable object.
No, no, no. Similarity to a for-loop is the *last* thing
we want to emphasise, because the intended use is very
different from the intended use of a for-loop. This is
going to give people the wrong idea altogether.
--
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg.ewing at canterbury.ac.nz +--------------------------------------+
More information about the Python-Dev
mailing list