Remove exception for non-NULL tp_compare that was introduced in r69188.

This commit is contained in:
Mark Dickinson 2009-02-01 20:36:08 +00:00
parent c48d834026
commit 995d4cdd62

View file

@ -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 =