diff Objects/bytesobject.c @ 51270:debd14c489b9

Issue #1717: rename tp_compare to tp_reserved. I'll change the type of tp_compare in a separate commit, for ease of reversion should things go wrong.
author Mark Dickinson <dickinsm@gmail.com>
date Mon, 02 Feb 2009 20:36:42 +0000
parents 27db82a5cda9
children 643f44ad387f
line wrap: on
line diff
--- a/Objects/bytesobject.c	Mon Feb 02 20:32:29 2009 +0000
+++ b/Objects/bytesobject.c	Mon Feb 02 20:36:42 2009 +0000
@@ -3089,7 +3089,7 @@
 	0,			 		/* tp_print */
 	0,					/* tp_getattr */
 	0,					/* tp_setattr */
-	0,					/* tp_compare */
+	0,					/* tp_reserved */
 	(reprfunc)string_repr, 			/* tp_repr */
 	0,					/* tp_as_number */
 	&string_as_sequence,			/* tp_as_sequence */
@@ -3423,7 +3423,7 @@
 	0,					/* tp_print */
 	0,					/* tp_getattr */
 	0,					/* tp_setattr */
-	0,					/* tp_compare */
+	0,					/* tp_reserved */
 	0,					/* tp_repr */
 	0,					/* tp_as_number */
 	0,					/* tp_as_sequence */