summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2018-01-30 00:41:04 (GMT)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2018-01-30 00:41:04 (GMT)
commit332cd5ee4ff42c9904c56e68a1028f383f7fc9a8 (patch)
tree7e02c4a2919e9a8d17ed3be5008aa81d05dc14b1 /Doc
parentb6e43af669f61a37a29d8ff0785455108e6bc29d (diff)
downloadcpython-332cd5ee4ff42c9904c56e68a1028f383f7fc9a8.zip
cpython-332cd5ee4ff42c9904c56e68a1028f383f7fc9a8.tar.gz
cpython-332cd5ee4ff42c9904c56e68a1028f383f7fc9a8.tar.bz2
bpo-32550. Remove the STORE_ANNOTATION bytecode. (GH-5181)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/dis.rst7
-rw-r--r--Doc/whatsnew/3.7.rst2
2 files changed, 2 insertions, 7 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 01d46f8..48c42d1 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -993,13 +993,6 @@ All of the following opcodes use their arguments.
Deletes local ``co_varnames[var_num]``.
-.. opcode:: STORE_ANNOTATION (namei)
-
- Stores TOS as ``locals()['__annotations__'][co_names[namei]] = TOS``.
-
- .. versionadded:: 3.6
-
-
.. opcode:: LOAD_CLOSURE (i)
Pushes a reference to the cell contained in slot *i* of the cell and free
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index 71070df..4fdbb91 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -1173,6 +1173,8 @@ CPython bytecode changes
* Added two new opcodes: :opcode:`LOAD_METHOD` and :opcode:`CALL_METHOD`.
(Contributed by Yury Selivanov and INADA Naoki in :issue:`26110`.)
+* Removed the STORE_ANNOTATION opcode.
+
Other CPython implementation changes
------------------------------------