Mercurial > cpython-lru_cache-weakref
diff Objects/tupleobject.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 | 3ab2e52d8d19 |
line wrap: on
line diff
--- a/Objects/tupleobject.c Mon Feb 02 20:32:29 2009 +0000 +++ b/Objects/tupleobject.c Mon Feb 02 20:36:42 2009 +0000 @@ -727,7 +727,7 @@ 0, /* tp_print */ 0, /* tp_getattr */ 0, /* tp_setattr */ - 0, /* tp_compare */ + 0, /* tp_reserved */ (reprfunc)tuplerepr, /* tp_repr */ 0, /* tp_as_number */ &tuple_as_sequence, /* tp_as_sequence */ @@ -930,7 +930,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 */
