Commit 995d4cdd authored by Mark Dickinson's avatar Mark Dickinson

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

parent c48d8340
...@@ -3886,13 +3886,6 @@ PyType_Ready(PyTypeObject *type) ...@@ -3886,13 +3886,6 @@ PyType_Ready(PyTypeObject *type)
goto error; 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 */ /* All done -- set the ready flag */
assert(type->tp_dict != NULL); assert(type->tp_dict != NULL);
type->tp_flags = type->tp_flags =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment