summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/compiler/pycodegen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/compiler/pycodegen.py b/Lib/compiler/pycodegen.py
index 37dbcfd..882e6b1 100644
--- a/Lib/compiler/pycodegen.py
+++ b/Lib/compiler/pycodegen.py
@@ -363,7 +363,7 @@ class CodeGenerator:
self.visit(node.assign)
self.visit(node.body)
self.emit('JUMP_ABSOLUTE', start)
- self.startBlock(anchor)
+ self.nextBlock(anchor)
self.emit('POP_BLOCK')
self.loops.pop()
if node.else_: