mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
[3.12] gh-117270: Add missed change to COMPARE_OP from 3.12 to dis documentation (GH-117272) (#117274)
This commit is contained in:
parent
81bed0fe8a
commit
e970431f13
1 changed files with 4 additions and 1 deletions
|
|
@ -1132,7 +1132,10 @@ iterations of the loop.
|
|||
.. opcode:: COMPARE_OP (opname)
|
||||
|
||||
Performs a Boolean operation. The operation name can be found in
|
||||
``cmp_op[opname]``.
|
||||
``cmp_op[opname >> 4]``.
|
||||
|
||||
.. versionchanged:: 3.12
|
||||
The cmp_op index is now stored in the four-highest bits of oparg instead of the four-lowest bits of oparg.
|
||||
|
||||
|
||||
.. opcode:: IS_OP (invert)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue