From e3d8ccc89dbaa090ca642630b81d993f2c61ae0e Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sun, 1 Sep 2024 09:38:38 +0200 Subject: [PATCH] [3.12] gh-123550: Fix code snippet of `BUILD_TUPLE` in `dis` docs (GH-123551) (#123556) --- 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 76f1d67811d4..82b4aa28857f 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -1000,8 +1000,8 @@ iterations of the loop. if count == 0: value = () else: - STACK = STACK[:-count] value = tuple(STACK[-count:]) + STACK = STACK[:-count] STACK.append(value) -- 2.47.3