We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81bed0f commit e970431Copy full SHA for e970431
1 file changed
Doc/library/dis.rst
@@ -1132,7 +1132,10 @@ iterations of the loop.
1132
.. opcode:: COMPARE_OP (opname)
1133
1134
Performs a Boolean operation. The operation name can be found in
1135
- ``cmp_op[opname]``.
+ ``cmp_op[opname >> 4]``.
1136
+
1137
+ .. versionchanged:: 3.12
1138
+ The cmp_op index is now stored in the four-highest bits of oparg instead of the four-lowest bits of oparg.
1139
1140
1141
.. opcode:: IS_OP (invert)
0 commit comments