Skip to content

Commit

Permalink
pythongh-117339: Use NULL instead of None for LOAD_SUPER_ATTR in dis …
Browse files Browse the repository at this point in the history
…docs (pythonGH-117343)
  • Loading branch information
Christopher-Chianelli authored Mar 28, 2024
1 parent 26d328b commit a17f313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/dis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@ iterations of the loop.
except that ``namei`` is shifted left by 2 bits instead of 1.

The low bit of ``namei`` signals to attempt a method load, as with
:opcode:`LOAD_ATTR`, which results in pushing ``None`` and the loaded method.
:opcode:`LOAD_ATTR`, which results in pushing ``NULL`` and the loaded method.
When it is unset a single value is pushed to the stack.

The second-low bit of ``namei``, if set, means that this was a two-argument
Expand Down

0 comments on commit a17f313

Please sign in to comment.