From b4bee03087a3c70cb040e2ce569c828860ed8e87 Mon Sep 17 00:00:00 2001 From: Hai Shi Date: Fri, 28 Jun 2019 04:02:57 -0500 Subject: [PATCH] bpo-37432: Doc: Fix signature of PyObject_Del() (GH-14430) --- Doc/c-api/allocation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/allocation.rst b/Doc/c-api/allocation.rst index 8e8a92003c5..33b0c06a9eb 100644 --- a/Doc/c-api/allocation.rst +++ b/Doc/c-api/allocation.rst @@ -48,7 +48,7 @@ Allocating Objects on the Heap improving the memory management efficiency. -.. c:function:: void PyObject_Del(PyObject *op) +.. c:function:: void PyObject_Del(void *op) Releases memory allocated to an object using :c:func:`PyObject_New` or :c:func:`PyObject_NewVar`. This is normally called from the