summaryrefslogtreecommitdiffstats
path: root/Include/cpython/listobject.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-24 19:44:34 (GMT)
committerGitHub <noreply@github.com>2023-08-24 19:44:34 (GMT)
commitc3d580b238fb1b5a72d5608ff7905e9ad726d1bb (patch)
treea51db9a4a9c3c1c4ed568bb0d4fe020f90c170b8 /Include/cpython/listobject.h
parent88941d665fc6b345f38b9147a7321e40019964d5 (diff)
downloadcpython-c3d580b238fb1b5a72d5608ff7905e9ad726d1bb.zip
cpython-c3d580b238fb1b5a72d5608ff7905e9ad726d1bb.tar.gz
cpython-c3d580b238fb1b5a72d5608ff7905e9ad726d1bb.tar.bz2
gh-106320: Remove private _PyList functions (#108451)
Move private functions to the internal C API (pycore_list.h): * _PyList_Extend() * _PyList_DebugMallocStats() No longer export these functions.
Diffstat (limited to 'Include/cpython/listobject.h')
-rw-r--r--Include/cpython/listobject.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/Include/cpython/listobject.h b/Include/cpython/listobject.h
index b3b2398..6616105 100644
--- a/Include/cpython/listobject.h
+++ b/Include/cpython/listobject.h
@@ -21,9 +21,6 @@ typedef struct {
Py_ssize_t allocated;
} PyListObject;
-PyAPI_FUNC(PyObject *) _PyList_Extend(PyListObject *, PyObject *);
-PyAPI_FUNC(void) _PyList_DebugMallocStats(FILE *out);
-
/* Cast argument to PyListObject* type. */
#define _PyList_CAST(op) \
(assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))