Mercurial > cpython-lru_cache-weakref
diff Objects/floatobject.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 | 57edf835dea3 |
| children | 4419e06219ca |
line wrap: on
line diff
--- a/Objects/floatobject.c Mon Feb 02 20:32:29 2009 +0000 +++ b/Objects/floatobject.c Mon Feb 02 20:36:42 2009 +0000 @@ -1819,7 +1819,7 @@ 0, /* tp_print */ 0, /* tp_getattr */ 0, /* tp_setattr */ - 0, /* tp_compare */ + 0, /* tp_reserved */ (reprfunc)float_repr, /* tp_repr */ &float_as_number, /* tp_as_number */ 0, /* tp_as_sequence */
