summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHai Shi <shihai1992@gmail.com>2019-06-28 09:02:57 (GMT)
committerInada Naoki <songofacandy@gmail.com>2019-06-28 09:02:56 (GMT)
commitb4bee03087a3c70cb040e2ce569c828860ed8e87 (patch)
treec1b96770862434c265262e370189dac1716d743c
parent3b03b09fc94425915c5b1225e9200a3a95bc827b (diff)
downloadcpython-b4bee03087a3c70cb040e2ce569c828860ed8e87.zip
cpython-b4bee03087a3c70cb040e2ce569c828860ed8e87.tar.gz
cpython-b4bee03087a3c70cb040e2ce569c828860ed8e87.tar.bz2
bpo-37432: Doc: Fix signature of PyObject_Del() (GH-14430)
-rw-r--r--Doc/c-api/allocation.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/allocation.rst b/Doc/c-api/allocation.rst
index 8e8a920..33b0c06 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