https://github.com/python/cpython/commit/0a63c6603590f339c06e4305e8e6857d702788a9 commit: 0a63c6603590f339c06e4305e8e6857d702788a9 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: kumaraditya303 <[email protected]> date: 2024-10-08T12:30:52Z summary:
[3.13] Doc: Improve description of ``GET_LEN`` opcode (GH-114583) (#125102) Doc: Improve description of ``GET_LEN`` opcode (GH-114583) (cherry picked from commit e8773e59a835d23b9648271e0eb79c1651581564) Co-authored-by: Kirill Podoprigora <[email protected]> files: M Doc/library/dis.rst diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index ad8ef5dfc76ab8..aed4f38ba29ebe 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -957,7 +957,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]
