summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-08-25 21:26:50 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-08-25 21:26:50 (GMT)
commite90bdb19f22655b8ddad32006740c55d49237748 (patch)
tree3748a8f27c9b1958897a266b9529771b021ba58a /Include
parentbb1085915298a588d495561e5bc22b81552ecb7e (diff)
downloadcpython-e90bdb19f22655b8ddad32006740c55d49237748.zip
cpython-e90bdb19f22655b8ddad32006740c55d49237748.tar.gz
cpython-e90bdb19f22655b8ddad32006740c55d49237748.tar.bz2
Issue #27830: Revert, remove _PyFunction_FastCallKeywords()
Diffstat (limited to 'Include')
-rw-r--r--Include/abstract.h17
-rw-r--r--Include/funcobject.h6
2 files changed, 0 insertions, 23 deletions
diff --git a/Include/abstract.h b/Include/abstract.h
index ebad84b..f838b50 100644
--- a/Include/abstract.h
+++ b/Include/abstract.h
@@ -292,23 +292,6 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
#define _PyObject_CallArg1(func, arg) \
_PyObject_FastCall((func), &(arg), 1)
- /* Call the callable object func with the "fast call" calling convention:
- args is a C array for positional arguments followed by (key, value)
- pairs for keyword arguments.
-
- nargs is the number of positional parameters at the beginning of stack.
- nkwargs is the number of (key, value) pairs at the end of stack.
-
- If nargs and nkwargs are equal to zero, stack can be NULL.
-
- Return the result on success. Raise an exception and return NULL on
- error. */
- PyAPI_FUNC(PyObject *) _PyObject_FastCallKeywords(
- PyObject *func,
- PyObject **stack,
- Py_ssize_t nargs,
- Py_ssize_t nkwargs);
-
PyAPI_FUNC(PyObject *) _PyObject_Call_Prepend(PyObject *func,
PyObject *obj, PyObject *args,
PyObject *kwargs);
diff --git a/Include/funcobject.h b/Include/funcobject.h
index 5aff632..6b89c86 100644
--- a/Include/funcobject.h
+++ b/Include/funcobject.h
@@ -64,12 +64,6 @@ PyAPI_FUNC(PyObject *) _PyFunction_FastCallDict(
PyObject **args,
Py_ssize_t nargs,
PyObject *kwargs);
-
-PyAPI_FUNC(PyObject *) _PyFunction_FastCallKeywords(
- PyObject *func,
- PyObject **stack,
- Py_ssize_t nargs,
- Py_ssize_t nkwargs);
#endif
/* Macros for direct access to these values. Type checks are *not*