https://github.com/python/cpython/commit/a17f313e3958e825db9a83594c8471a984316536
commit: a17f313e3958e825db9a83594c8471a984316536
branch: main
author: Christopher Chianelli <[email protected]>
committer: Fidget-Spinner <[email protected]>
date: 2024-03-29T06:26:56+08:00
summary:
gh-117339: Use NULL instead of None for LOAD_SUPER_ATTR in dis docs (GH-117343)
files:
M Doc/library/dis.rst
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 190e994a12cc71..21ac2c87a1859e 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -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
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]