mirror of
https://github.com/python/cpython.git
synced 2025-10-26 16:27:06 +00:00
gh-110235: Raise TypeError for duplicate/unknown fields in PyStructSequence constructor (GH-110258)
This commit is contained in:
parent
bf4bc36069
commit
9561648f4a
3 changed files with 84 additions and 7 deletions
|
|
@ -0,0 +1,2 @@
|
|||
Raise :exc:`TypeError` for duplicate/unknown fields in ``PyStructSequence`` constructor.
|
||||
Patched by Xuehai Pan.
|
||||
Loading…
Add table
Add a link
Reference in a new issue