From: Christopher Chianelli Date: Thu, 28 Mar 2024 22:26:56 +0000 (-0400) Subject: gh-117339: Use NULL instead of None for LOAD_SUPER_ATTR in dis docs (GH-117343) X-Git-Tag: v3.13.0a6~116 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a17f313e3958e825db9a83594c8471a984316536;p=thirdparty%2FPython%2Fcpython.git gh-117339: Use NULL instead of None for LOAD_SUPER_ATTR in dis docs (GH-117343) --- diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 190e994a12cc..21ac2c87a185 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