Colin J. Williams wrote:

"foreach: for x in array: statements
>
Loops over the array given by array. On each iteration, the value of the current element is assigned to x and the internal array pointer is advanced by one. "

This could be a useful addition to Python.

for-in could be a useful addition to Python? looks like Guido's used his time machine again, then, since it's been around since the pre-1.0 days:

    http://www.python.org/doc/ref/for.html

</F>

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to