diff options
Diffstat (limited to 'Objects/classobject.c')
-rw-r--r-- | Objects/classobject.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Objects/classobject.c b/Objects/classobject.c index 7d3d048..3f51c0f 100644 --- a/Objects/classobject.c +++ b/Objects/classobject.c @@ -2226,10 +2226,6 @@ PyObject * PyMethod_New(PyObject *func, PyObject *self, PyObject *klass) { register PyMethodObject *im; - if (!PyCallable_Check(func)) { - PyErr_BadInternalCall(); - return NULL; - } im = free_list; if (im != NULL) { free_list = (PyMethodObject *)(im->im_self); |