We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca86080 commit a67116eCopy full SHA for a67116e
1 file changed
Doc/c-api/type.rst
@@ -536,6 +536,11 @@ Slot values may not be ``NULL``, except for the following:
536
using :c:data:`Py_tp_vectorcall`. See the field's documentation
537
for details.
538
539
+.. versionchanged:: 3.15
540
+ The :c:data:`Py_tp_bases` slot may be set to a single type object,
541
+ making it equivalent to the :c:data:`Py_tp_base` slot.
542
+ Previously, a tuple of types was required.
543
+
544
The following slots correspond to fields in the underlying type structure,
545
but need extra remarks for use as slots:
546
0 commit comments