diff options
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/typeobject.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index c6d6fc8..59890d2 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -3886,13 +3886,6 @@ PyType_Ready(PyTypeObject *type) goto error; } - /* Check reserved slots */ - if (type->tp_compare) { - PyErr_Format(PyExc_TypeError, - "type %s has tp_compare", - type->tp_name); - } - /* All done -- set the ready flag */ assert(type->tp_dict != NULL); type->tp_flags = |