Not fully OO ?

Fredrik Lundh fredrik at
Sat Sep 20 13:54:02 CEST 2008

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:


More information about the Python-list mailing list