Loop-and-a-half (Re: Curious assignment behaviour)

Paul Rubin phr-n2001d at nightsong.com
Sun Oct 14 23:47:16 EDT 2001


Greg Ewing <greg at cosc.canterbury.ac.nz> writes:
> > (The real code stored the
> > number of the last item processed, not the number of items processed
> 
> In that case, if there are 0 items, there is no "last
> item processed", so that's going to be a special case
> anyway.

The last item processed in that case is the last item processed by
a previous run of the program.



More information about the Python-list mailing list