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

Greg Ewing greg at cosc.canterbury.ac.nz
Sun Oct 14 23:25:49 EDT 2001


Paul Rubin wrote:
> 
> (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.

-- 
Greg Ewing, Computer Science Dept, University of Canterbury,	  
Christchurch, New Zealand
To get my email address, please visit my web page:	  
http://www.cosc.canterbury.ac.nz/~greg



More information about the Python-list mailing list