From 0a63c6603590f339c06e4305e8e6857d702788a9 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Tue, 8 Oct 2024 14:30:52 +0200 Subject: [PATCH] [3.13] Doc: Improve description of ``GET_LEN`` opcode (GH-114583) (#125102) Doc: Improve description of ``GET_LEN`` opcode (GH-114583) (cherry picked from commit e8773e59a835d23b9648271e0eb79c1651581564) Co-authored-by: Kirill Podoprigora --- Doc/library/dis.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index ad8ef5dfc76..aed4f38ba29 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -957,7 +957,8 @@ iterations of the loop. .. opcode:: GET_LEN - Perform ``STACK.append(len(STACK[-1]))``. + Perform ``STACK.append(len(STACK[-1]))``. Used in :keyword:`match` statements where + comparison with structure of pattern is needed. .. versionadded:: 3.10