From 6f4df6681188677edbbf40ad512642cc5486ee2d Mon Sep 17 00:00:00 2001 From: Guilherme Leobas Date: Sat, 31 Jan 2026 00:41:31 -0300 Subject: [PATCH 1/2] Update dangling reference to `LOAD_METHOD` in dis.rst --- 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 755d681b9df2be..7c1a6a7836e2a1 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -1642,7 +1642,7 @@ iterations of the loop. Pushes a ``NULL`` to the stack. Used in the call sequence to match the ``NULL`` pushed by - :opcode:`!LOAD_METHOD` for non-method calls. + :opcode:`!LOAD_ATTR` for non-method calls. .. versionadded:: 3.11 From ebd73012febae0b85bd91603c02528f83e072332 Mon Sep 17 00:00:00 2001 From: Guilherme Leobas Date: Sat, 31 Jan 2026 18:39:01 -0300 Subject: [PATCH 2/2] Remove `!` --- 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 7c1a6a7836e2a1..1486eeb3053da4 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -1642,7 +1642,7 @@ iterations of the loop. Pushes a ``NULL`` to the stack. Used in the call sequence to match the ``NULL`` pushed by - :opcode:`!LOAD_ATTR` for non-method calls. + :opcode:`LOAD_ATTR` for non-method calls. .. versionadded:: 3.11