From 9f709bf9a1890052cae13a08651697dca01da3ca Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 11 Jun 2002 21:17:35 +0000 Subject: The opcode YIELD_STMT was accidentally called YIELD_VALUE here. --- Lib/dis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/dis.py b/Lib/dis.py index 8ea6d98..1529222 100644 --- a/Lib/dis.py +++ b/Lib/dis.py @@ -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) -- cgit v0.12