From 6880a48f5d20d92562b5b0902b9931e061efe637 Mon Sep 17 00:00:00 2001 From: Vladyslav Lazoryk <80263725+lazorikv@users.noreply.github.com> Date: Wed, 18 Jun 2025 05:39:41 +0300 Subject: [PATCH] gh-135627: Remove documentation for LOAD_CONST_IMMORTAL opcode (GH-135632) Remove documentation for LOAD_CONST_IMMORTAL opcode (cherry picked from commit 711700259135b5f9e21c56b199f4ebc0048b18b4) Co-authored-by: Vladyslav Lazoryk <80263725+lazorikv@users.noreply.github.com> --- Doc/library/dis.rst | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 44767b5dd2d5c9..11685a32f48e4f 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -1094,14 +1094,6 @@ iterations of the loop. .. versionadded:: 3.14 -.. opcode:: LOAD_CONST_IMMORTAL (consti) - - Pushes ``co_consts[consti]`` onto the stack. - Can be used when the constant value is known to be immortal. - - .. versionadded:: 3.14 - - .. opcode:: LOAD_NAME (namei) Pushes the value associated with ``co_names[namei]`` onto the stack.