]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
The opcode YIELD_STMT was accidentally called YIELD_VALUE here.
authorGuido van Rossum <guido@python.org>
Tue, 11 Jun 2002 21:17:35 +0000 (21:17 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 11 Jun 2002 21:17:35 +0000 (21:17 +0000)
Lib/dis.py

index 8ea6d9844460e82a132ee3d24c3988c2a768b201..15292228f7e399521ccbc8b48360a5c76c36fb17 100644 (file)
@@ -228,7 +228,7 @@ def_op('LOAD_LOCALS', 82)
 def_op('RETURN_VALUE', 83)
 def_op('IMPORT_STAR', 84)
 def_op('EXEC_STMT', 85)
-def_op('YIELD_STMT', 86)
+def_op('YIELD_VALUE', 86)
 
 def_op('POP_BLOCK', 87)
 def_op('END_FINALLY', 88)