summaryrefslogtreecommitdiffstats
path: root/Include/cpython
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-22 21:44:33 (GMT)
committerGitHub <noreply@github.com>2023-07-22 21:44:33 (GMT)
commit889851ecc355cad3d79f5692a6dbd3ae3127647b (patch)
tree37c72da12a7cff91136642c69c2eec3c274aa5a3 /Include/cpython
parentc1331ad50891b1727896afe62258bda73a459d40 (diff)
downloadcpython-889851ecc355cad3d79f5692a6dbd3ae3127647b.zip
cpython-889851ecc355cad3d79f5692a6dbd3ae3127647b.tar.gz
cpython-889851ecc355cad3d79f5692a6dbd3ae3127647b.tar.bz2
gh-106320: Remove _PyFunction_Vectorcall() API (#107071)
Move _PyFunction_Vectorcall() API to the internal C API. No longer export the function.
Diffstat (limited to 'Include/cpython')
-rw-r--r--Include/cpython/funcobject.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/Include/cpython/funcobject.h b/Include/cpython/funcobject.h
index 6f78f58..de20133 100644
--- a/Include/cpython/funcobject.h
+++ b/Include/cpython/funcobject.h
@@ -79,12 +79,6 @@ PyAPI_FUNC(int) PyFunction_SetClosure(PyObject *, PyObject *);
PyAPI_FUNC(PyObject *) PyFunction_GetAnnotations(PyObject *);
PyAPI_FUNC(int) PyFunction_SetAnnotations(PyObject *, PyObject *);
-PyAPI_FUNC(PyObject *) _PyFunction_Vectorcall(
- PyObject *func,
- PyObject *const *stack,
- size_t nargsf,
- PyObject *kwnames);
-
#define _PyFunction_CAST(func) \
(assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))