Browse Source
bpo-43977: Make sure that tp_flags for pattern matching are inherited correctly. (GH-25813)
pull/25828/head
bpo-43977: Make sure that tp_flags for pattern matching are inherited correctly. (GH-25813)
pull/25828/head
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 69 additions and 8 deletions
-
6Lib/test/test_collections.py
-
41Lib/test/test_patma.py
-
1Misc/NEWS.d/next/Core and Builtins/2021-05-02-11-59-00.bpo-43977.R0hSDo.rst
-
11Modules/_abc.c
-
18Objects/typeobject.c
@ -0,0 +1 @@ |
|||
Prevent classes being both a sequence and a mapping when pattern matching. |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue