We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0f0d2d commit f8b24cdCopy full SHA for f8b24cd
Doc/c-api/typeobj.rst
@@ -355,7 +355,7 @@ slot typedefs
355
+-----------------------------+-----------------------------+----------------------+
356
| :c:type:`newfunc` | .. line-block:: | :c:type:`PyObject` * |
357
| | | |
358
-| | :c:type:`PyObject` * | |
+| | :c:type:`PyTypeObject` * | |
359
| | :c:type:`PyObject` * | |
360
361
@@ -2618,7 +2618,7 @@ Slot Type typedefs
2618
2619
See :c:member:`~PyTypeObject.tp_free`.
2620
2621
-.. c:type:: PyObject *(*newfunc)(PyObject *, PyObject *, PyObject *)
+.. c:type:: PyObject *(*newfunc)(PyTypeObject *, PyObject *, PyObject *)
2622
2623
See :c:member:`~PyTypeObject.tp_new`.
2624
0 commit comments