summaryrefslogtreecommitdiffstats
path: root/Objects/call.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/call.c')
-rw-r--r--Objects/call.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/Objects/call.c b/Objects/call.c
index 183a5c2..55dfc52 100644
--- a/Objects/call.c
+++ b/Objects/call.c
@@ -9,22 +9,6 @@ static PyObject *
cfunction_call_varargs(PyObject *func, PyObject *args, PyObject *kwargs);
-int
-_PyObject_HasFastCall(PyObject *callable)
-{
- if (PyFunction_Check(callable)) {
- return 1;
- }
- else if (PyCFunction_Check(callable)) {
- return !(PyCFunction_GET_FLAGS(callable) & METH_VARARGS);
- }
- else {
- assert (PyCallable_Check(callable));
- return 0;
- }
-}
-
-
static PyObject *
null_error(void)
{