summaryrefslogtreecommitdiffstats
path: root/Objects/classobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/classobject.c')
-rw-r--r--Objects/classobject.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Objects/classobject.c b/Objects/classobject.c
index d10ab29..cb78d15 100644
--- a/Objects/classobject.c
+++ b/Objects/classobject.c
@@ -43,10 +43,6 @@ PyObject *
PyMethod_New(PyObject *func, PyObject *self)
{
register PyMethodObject *im;
- if (!PyCallable_Check(func)) {
- PyErr_BadInternalCall();
- return NULL;
- }
if (self == NULL) {
PyErr_BadInternalCall();
return NULL;