[Python-checkins] bpo-37432: Doc: Fix signature of PyObject_Del() (GH-14430)

Miss Islington (bot) webhook-mailer at python.org
Fri Jun 28 05:16:34 EDT 2019


https://github.com/python/cpython/commit/99f2f851773c6e481e80e8e157d9f5ad4fc5cbb3
commit: 99f2f851773c6e481e80e8e157d9f5ad4fc5cbb3
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-06-28T02:16:30-07:00
summary:

bpo-37432: Doc: Fix signature of PyObject_Del() (GH-14430)

(cherry picked from commit b4bee03087a3c70cb040e2ce569c828860ed8e87)

Co-authored-by: Hai Shi <shihai1992 at gmail.com>

files:
M Doc/c-api/allocation.rst

diff --git a/Doc/c-api/allocation.rst b/Doc/c-api/allocation.rst
index 25a867f139cc..c5e548d2668b 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



More information about the Python-checkins mailing list