Skip to content

Commit 85ac67a

Browse files
committed
Remove the DELETE_ATTR bytecode
1 parent 4507d49 commit 85ac67a

File tree

16 files changed

+942
-1060
lines changed

16 files changed

+942
-1060
lines changed

Doc/library/dis.rst

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,17 +1076,6 @@ iterations of the loop.
10761076
where *namei* is the index of name in :attr:`~codeobject.co_names` of the
10771077
:ref:`code object <code-objects>`.
10781078

1079-
.. opcode:: DELETE_ATTR (namei)
1080-
1081-
Implements::
1082-
1083-
obj = STACK.pop()
1084-
del obj.name
1085-
1086-
where *namei* is the index of name into :attr:`~codeobject.co_names` of the
1087-
:ref:`code object <code-objects>`.
1088-
1089-
10901079
.. opcode:: STORE_GLOBAL (namei)
10911080

10921081
Works as :opcode:`STORE_NAME`, but stores the name as a global.

Include/internal/pycore_opcode_metadata.h

Lines changed: 2 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)