]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-141510 Document and test frozendict class matching behaviour (#150799)
authorda-woods <dw-git@d-woods.co.uk>
Thu, 18 Jun 2026 12:53:09 +0000 (13:53 +0100)
committerGitHub <noreply@github.com>
Thu, 18 Jun 2026 12:53:09 +0000 (14:53 +0200)
commitfd53ae113911e5a7d83c04b08623df824f9d5d70
treef98fc348a947ea4066e134a1c8e4afba7d23fbde
parent8b270b72a2d20bf4b7fb457141cd68a38808f7d9
gh-141510 Document and test frozendict class matching behaviour (#150799)

Frozendict has `_Py_TPFLAGS_MATCH_SELF` set so works correctly
with the single-arg class matching. However it isn't documented
in the list of classes this works with and it isn't tested.

The test is some way below the other similar tests but anything
else would need a large renumbering.
Doc/reference/compound_stmts.rst
Lib/test/test_patma.py