https://github.com/python/cpython/commit/e8773e59a835d23b9648271e0eb79c1651581564
commit: e8773e59a835d23b9648271e0eb79c1651581564
branch: main
author: Kirill Podoprigora <[email protected]>
committer: kumaraditya303 <[email protected]>
date: 2024-10-08T17:55:40+05:30
summary:
Doc: Improve description of ``GET_LEN`` opcode (#114583)
files:
M Doc/library/dis.rst
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 75b84a8d827bc9..1d084a8bf38d98 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
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]