mirror of https://github.com/python/cpython
Doc: Improve description of ``GET_LEN`` opcode (#114583)
This commit is contained in:
parent
9a35d05338
commit
e8773e59a8
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue