Skip to content

Commit f5fb7f5

Browse files
committed
Make documentation about GET_FOR opcode more clear
1 parent b69548a commit f5fb7f5

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
@@ -956,7 +956,8 @@ iterations of the loop.
956956

957957
.. opcode:: GET_LEN
958958

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

961962
.. versionadded:: 3.10
962963

0 commit comments

Comments
 (0)