bpo-36974: inherit tp_vectorcall_offset unconditionally (GH-13858)
diff --git a/Objects/call.c b/Objects/call.c
index 8a1ce7f..bde5513 100644
--- a/Objects/call.c
+++ b/Objects/call.c
@@ -184,7 +184,7 @@
/* get vectorcallfunc as in _PyVectorcall_Function, but without
* the _Py_TPFLAGS_HAVE_VECTORCALL check */
Py_ssize_t offset = Py_TYPE(callable)->tp_vectorcall_offset;
- if ((offset <= 0) || (!Py_TYPE(callable)->tp_call)) {
+ if (offset <= 0) {
PyErr_Format(PyExc_TypeError, "'%.200s' object does not support vectorcall",
Py_TYPE(callable)->tp_name);
return NULL;