gh-110235: Raise TypeError for duplicate/unknown fields in PyStructSequence constructor (GH-110258)

This commit is contained in:
Xuehai Pan 2023-10-05 00:44:17 +08:00 committed by GitHub
parent bf4bc36069
commit 9561648f4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 84 additions and 7 deletions

View file

@ -0,0 +1,2 @@
Raise :exc:`TypeError` for duplicate/unknown fields in ``PyStructSequence`` constructor.
Patched by Xuehai Pan.