for iteration

Franck Bui-Huu Franck.BUI-HUU at gemplus.com
Fri Aug 22 07:52:46 EDT 2003


Hello,

I'm trying to customize a list by overriding __getitem__ method but
this change seems to not work with for iteration.
When I use my customized list in a for iteration, all changes made
in __getitem__ are not take into account.
How can I modify this behaviour ?

Thanks






More information about the Python-list mailing list