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 e3f4070 commit 7c4fcb6Copy full SHA for 7c4fcb6
Doc/c-api/typeobj.rst
@@ -1558,6 +1558,8 @@ and :c:type:`PyType_Type` effectively act as defaults.)
1558
:c:member:`~PyTypeObject.tp_init` function is called; if :c:member:`~PyTypeObject.tp_new` returns an instance of a
1559
subtype of the original type, the subtype's :c:member:`~PyTypeObject.tp_init` is called.
1560
1561
+ Returns ``0`` on success, ``-1`` and sets an exception on error.
1562
+
1563
**Inheritance:**
1564
1565
This field is inherited by subtypes.
0 commit comments