mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
gh-93466: Document PyType_Spec doesn't accept repeated slot IDs; raise where this was problematic (GH-93471)
This commit is contained in:
parent
3124d9a5aa
commit
21a9a85ff4
5 changed files with 84 additions and 2 deletions
|
|
@ -296,6 +296,8 @@ The following functions and structs are used to create
|
|||
Array of :c:type:`PyType_Slot` structures.
|
||||
Terminated by the special slot value ``{0, NULL}``.
|
||||
|
||||
Each slot ID should be specified at most once.
|
||||
|
||||
.. c:type:: PyType_Slot
|
||||
|
||||
Structure defining optional functionality of a type, containing a slot ID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue