Skip to content

Commit b4bee03

Browse files
shihai1991methane
authored andcommitted
bpo-37432: Doc: Fix signature of PyObject_Del() (GH-14430)
1 parent 3b03b09 commit b4bee03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/allocation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Allocating Objects on the Heap
4848
improving the memory management efficiency.
4949
5050
51-
.. c:function:: void PyObject_Del(PyObject *op)
51+
.. c:function:: void PyObject_Del(void *op)
5252
5353
Releases memory allocated to an object using :c:func:`PyObject_New` or
5454
:c:func:`PyObject_NewVar`. This is normally called from the

0 commit comments

Comments
 (0)