Commit af093ca3 authored by Robert Bradshaw's avatar Robert Bradshaw

loop cleanup, comment

--HG--
extra : transplant_source : %96m%88%15%985T%8E%FF%CEW%16%5B%E3%1E%90%8E%23%00%AE
parent 1ce142c1
......@@ -3997,9 +3997,9 @@ class ForFromStatNode(LoopNode, StatNode):
self.body.generate_execution_code(code)
code.put_label(code.continue_label)
if self.py_loopvar_node:
self.py_loopvar_node.generate_evaluation_code(code)
self.target.generate_assignment_code(self.py_loopvar_node, code)
# Reassign py variable to loop var here.
# (For consistancy, should rarely come up in practice.)
pass
code.putln("}")
break_label = code.break_label
code.set_loop_labels(old_loop_labels)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment