From c2c707cb708eff98225059346dd35e394b46e096 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Sun, 1 Feb 2009 20:37:23 +0000 Subject: Merged revisions 69192 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r69192 | mark.dickinson | 2009-02-01 20:36:08 +0000 (Sun, 01 Feb 2009) | 2 lines Remove exception for non-NULL tp_compare that was introduced in r69188. ........ --- Objects/typeobject.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 379276e..5b31cbb 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 = -- cgit v0.12