]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-37432: Doc: Fix signature of PyObject_Del() (GH-14430)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 28 Jun 2019 09:16:30 +0000 (02:16 -0700)
committerGitHub <noreply@github.com>
Fri, 28 Jun 2019 09:16:30 +0000 (02:16 -0700)
(cherry picked from commit b4bee03087a3c70cb040e2ce569c828860ed8e87)

Co-authored-by: Hai Shi <shihai1992@gmail.com>
Doc/c-api/allocation.rst

index 25a867f139cc7a387c95bd4936c7d629f0e0e5bd..c5e548d2668b2bf8084a82c8649285f68e9f0cb4 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