From: Christopher Chianelli Date: Thu, 28 Mar 2024 22:27:16 +0000 (-0400) Subject: [3.12] gh-117339: Use NULL instead of None for LOAD_SUPER_ATTR in dis docs (GH-117343... X-Git-Tag: v3.12.3~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=655c4255fcb8ff73a720db7d5aa4dbb9b2e809e6;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-117339: Use NULL instead of None for LOAD_SUPER_ATTR in dis docs (GH-117343) (GH-117345) --- diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index abcc3cde2352..2dd11e03894f 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -1116,7 +1116,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