]> granicus.if.org Git - python/commitdiff
bpo-37432: Doc: Fix signature of PyObject_Del() (GH-14430)
authorHai Shi <shihai1992@gmail.com>
Fri, 28 Jun 2019 09:02:57 +0000 (04:02 -0500)
committerInada Naoki <songofacandy@gmail.com>
Fri, 28 Jun 2019 09:02:56 +0000 (18:02 +0900)
Doc/c-api/allocation.rst

index 8e8a92003c5a3ea241c3abcf51e005da6a428f98..33b0c06a9ebc2e695fcb42ef407edb72cdb93d8e 100644 (file)
@@ -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