From 6bee23cdc3e1b776ccee082b69cf85099aabca6e Mon Sep 17 00:00:00 2001 From: "Michael W. Hudson" Date: Thu, 26 Feb 2004 13:16:03 +0000 Subject: Oops, didn't mean to commit the removal of float_compare! --- Objects/floatobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/floatobject.c b/Objects/floatobject.c index 8739551..b3bcaa9 100644 --- a/Objects/floatobject.c +++ b/Objects/floatobject.c @@ -852,7 +852,7 @@ PyTypeObject PyFloat_Type = { (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 */ -- cgit v0.12