summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-02-01 20:36:08 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-02-01 20:36:08 (GMT)
commit995d4cdd623d10affca758e182344e1866584370 (patch)
tree9b17d2d25b7fe41db0bced7d0dbff3f96bbab458
parentc48d83402687c0c5d6da1c7bb1a677208effa35e (diff)
downloadcpython-995d4cdd623d10affca758e182344e1866584370.zip
cpython-995d4cdd623d10affca758e182344e1866584370.tar.gz
cpython-995d4cdd623d10affca758e182344e1866584370.tar.bz2
Remove exception for non-NULL tp_compare that was introduced in r69188.
-rw-r--r--Objects/typeobject.c7
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 =