Mercurial > cpython-lru_cache-weakref
diff Objects/floatobject.c @ 31590:c723b0c1a7e1 legacy-trunk
Oops, didn't mean to commit the removal of float_compare!
| author | Michael W. Hudson <mwh@python.net> |
|---|---|
| date | Thu, 26 Feb 2004 13:16:03 +0000 |
| parents | ca3c998afa55 |
| children | 65f9ad9bc829 |
line wrap: on
line diff
--- a/Objects/floatobject.c Thu Feb 26 12:33:09 2004 +0000 +++ b/Objects/floatobject.c Thu Feb 26 13:16:03 2004 +0000 @@ -852,7 +852,7 @@ (printfunc)float_print, /* tp_print */ 0, /* tp_getattr */ 0, /* tp_setattr */ - 0, /* tp_compare */ + (cmpfunc)float_compare, /* tp_compare */ (reprfunc)float_repr, /* tp_repr */ &float_as_number, /* tp_as_number */ 0, /* tp_as_sequence */
