commit | 9f709bf9a1890052cae13a08651697dca01da3ca | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Jun 11 21:17:35 2002 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Jun 11 21:17:35 2002 +0000 |
tree | e22f1168b549cc4629f77534265deb82e04a65b6 | |
parent | a039274cccd24631f2b2de39d31ae4ffe7399bf8 [diff] |
The opcode YIELD_STMT was accidentally called YIELD_VALUE here.
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('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)