diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-06-28 09:16:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-28 09:16:36 (GMT) |
commit | ad00640f936956c3a19834b6cd12b04edf53a776 (patch) | |
tree | 99d7aabbe89565553e6acd813ff4dfa98616a250 /Doc | |
parent | 515a026eb068e2730b6e2cddc9bbb1aef39d71fd (diff) | |
download | cpython-ad00640f936956c3a19834b6cd12b04edf53a776.zip cpython-ad00640f936956c3a19834b6cd12b04edf53a776.tar.gz cpython-ad00640f936956c3a19834b6cd12b04edf53a776.tar.bz2 |
bpo-37432: Doc: Fix signature of PyObject_Del() (GH-14430)
(cherry picked from commit b4bee03087a3c70cb040e2ce569c828860ed8e87)
Co-authored-by: Hai Shi <shihai1992@gmail.com>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/c-api/allocation.rst | 2 |
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 |