Message172856
> I have worked with languages where you are explicitly warned that you must not mess with the loop variable
There is a warning in this part of the tutorial:
"It is not safe to modify the sequence being iterated over in the loop..."
(from http://docs.python.org/dev/tutorial/controlflow.html#for-statements )
But it may be good to add a note to the section you reference as well. |
|
Date |
User |
Action |
Args |
2012-10-14 07:36:47 | chris.jerdonek | set | recipients:
+ chris.jerdonek, docs@python, Ian |
2012-10-14 07:36:46 | chris.jerdonek | set | messageid: <1350200206.95.0.394300478856.issue16225@psf.upfronthosting.co.za> |
2012-10-14 07:36:46 | chris.jerdonek | link | issue16225 messages |
2012-10-14 07:36:46 | chris.jerdonek | create | |
|