SORRY, my inattention "Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "MaHahaXixi" <[EMAIL PROTECTED]> wrote: > > > for python, i am a newbie, but i did not found the warning of such usage > > from the python tutorial > > "4.2 for Statements" > > "It is not safe to modify the sequence being iterated over in the loop (this > can only happen for mutable sequence types, such as lists). If you need > to modify the list you are iterating over (for example, to duplicate selected > items) you must iterate over a copy." (followed by an example) > > </F> > > >
-- http://mail.python.org/mailman/listinfo/python-list