summaryrefslogtreecommitdiffstats
path: root/Objects/floatobject.c
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2004-02-26 13:16:03 (GMT)
committerMichael W. Hudson <mwh@python.net>2004-02-26 13:16:03 (GMT)
commit6bee23cdc3e1b776ccee082b69cf85099aabca6e (patch)
tree71d7f6f4fd2711604fd1aeae1e2dd8bb6318cdce /Objects/floatobject.c
parent957f9774b68076e0b549435b4061143936426fe2 (diff)
downloadcpython-6bee23cdc3e1b776ccee082b69cf85099aabca6e.zip
cpython-6bee23cdc3e1b776ccee082b69cf85099aabca6e.tar.gz
cpython-6bee23cdc3e1b776ccee082b69cf85099aabca6e.tar.bz2
Oops, didn't mean to commit the removal of float_compare!
Diffstat (limited to 'Objects/floatobject.c')
-rw-r--r--Objects/floatobject.c2
1 files changed, 1 insertions, 1 deletions
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 */