From f5fb7f50d2983e3afbbc0e576a6965d2a0d5c39b Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Fri, 26 Jan 2024 10:39:08 +0200 Subject: [PATCH] Make documentation about GET_FOR opcode more clear --- 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 e654760fb91c65..1cee5a3befdacc 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -956,7 +956,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