From 655c4255fcb8ff73a720db7d5aa4dbb9b2e809e6 Mon Sep 17 00:00:00 2001 From: Christopher Chianelli Date: Thu, 28 Mar 2024 18:27:16 -0400 Subject: [PATCH] [3.12] gh-117339: Use NULL instead of None for LOAD_SUPER_ATTR in dis docs (GH-117343) (GH-117345) --- Doc/library/dis.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3