From: Michael W. Hudson Date: Thu, 26 Feb 2004 13:16:03 +0000 (+0000) Subject: Oops, didn't mean to commit the removal of float_compare! X-Git-Tag: v2.4a1~768 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6bee23cdc3e1b776ccee082b69cf85099aabca6e;p=thirdparty%2FPython%2Fcpython.git Oops, didn't mean to commit the removal of float_compare! --- diff --git a/Objects/floatobject.c b/Objects/floatobject.c index 87395515f887..b3bcaa91ca09 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 */