diff Objects/typeobject.c @ 51252:fdae4e749d2b 3.0

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. ........
author Mark Dickinson <dickinsm@gmail.com>
date Sun, 01 Feb 2009 20:37:23 +0000
parents 410dfd423ef1
children 87fbbf22adf3
line wrap: on
line diff
--- a/Objects/typeobject.c	Sun Feb 01 14:19:33 2009 +0000
+++ b/Objects/typeobject.c	Sun Feb 01 20:37:23 2009 +0000
@@ -3886,13 +3886,6 @@
 			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 =