mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
bpo-32550. Remove the STORE_ANNOTATION bytecode. (GH-5181)
This commit is contained in:
parent
b6e43af669
commit
332cd5ee4f
11 changed files with 147 additions and 199 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue