for(each) element aliasing
Matija Papec
mpapec at yahoo.com
Mon Nov 22 13:35:13 EST 2004
>> arr[:] = [a * 2 for a in arr]
>> print arr
>
>I guess this works like "map" but "for" is more idimatic.
idiomatic
--
Matija
More information about the Python-list
mailing list