mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Doc: Improve description of `GET_LEN` opcode (#114583)
This commit is contained in:
parent
9a35d05338
commit
e8773e59a8
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue