summaryrefslogtreecommitdiffstats
path: root/Doc/library/dis.rst
diff options
context:
space:
mode:
authorKirill Podoprigora <kirill.bast9@mail.ru>2024-10-08 12:25:40 (GMT)
committerGitHub <noreply@github.com>2024-10-08 12:25:40 (GMT)
commite8773e59a835d23b9648271e0eb79c1651581564 (patch)
treee866571bbd17b2f9d483add15af93aa62eb3026c /Doc/library/dis.rst
parent9a35d053383c87d577ea09951bc9740704f4788d (diff)
downloadcpython-e8773e59a835d23b9648271e0eb79c1651581564.zip
cpython-e8773e59a835d23b9648271e0eb79c1651581564.tar.gz
cpython-e8773e59a835d23b9648271e0eb79c1651581564.tar.bz2
Doc: Improve description of ``GET_LEN`` opcode (#114583)
Diffstat (limited to 'Doc/library/dis.rst')
-rw-r--r--Doc/library/dis.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 75b84a8..1d084a8 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