Skip to content

Commit e8773e5

Browse files
authored
Doc: Improve description of GET_LEN opcode (#114583)
1 parent 9a35d05 commit e8773e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/dis.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,8 @@ iterations of the loop.
969969

970970
.. opcode:: GET_LEN
971971

972-
Perform ``STACK.append(len(STACK[-1]))``.
972+
Perform ``STACK.append(len(STACK[-1]))``. Used in :keyword:`match` statements where
973+
comparison with structure of pattern is needed.
973974

974975
.. versionadded:: 3.10
975976

0 commit comments

Comments
 (0)