From: Kirill Podoprigora Date: Tue, 8 Oct 2024 12:25:40 +0000 (+0300) Subject: Doc: Improve description of ``GET_LEN`` opcode (#114583) X-Git-Tag: v3.14.0a1~144 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e8773e59a835d23b9648271e0eb79c1651581564;p=thirdparty%2FPython%2Fcpython.git Doc: Improve description of ``GET_LEN`` opcode (#114583) --- diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 75b84a8d827b..1d084a8bf38d 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -969,7 +969,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