chun ping wang wrote:
> i want to modify an iterator value.
> 
> for x in someList
>    x = 1

for index, value in enumerate(someList):
     someList[index] = 1
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to