PEP 276 Simple Iterator for ints (fwd)
James_Althoff at i2.com
James_Althoff at i2.com
Thu Nov 15 13:01:00 EST 2001
Graham wrote:
>If you're going to define a new function, how about
>
> for i in indices(sequence):
This is proposed in PEP 212 "Loop Counter Iteration".
Jim
More information about the Python-list
mailing list