diff options
author | Michael W. Hudson <mwh@python.net> | 2004-02-26 13:16:03 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2004-02-26 13:16:03 (GMT) |
commit | 6bee23cdc3e1b776ccee082b69cf85099aabca6e (patch) | |
tree | 71d7f6f4fd2711604fd1aeae1e2dd8bb6318cdce | |
parent | 957f9774b68076e0b549435b4061143936426fe2 (diff) | |
download | cpython-6bee23cdc3e1b776ccee082b69cf85099aabca6e.zip cpython-6bee23cdc3e1b776ccee082b69cf85099aabca6e.tar.gz cpython-6bee23cdc3e1b776ccee082b69cf85099aabca6e.tar.bz2 |
Oops, didn't mean to commit the removal of float_compare!
-rw-r--r-- | Objects/floatobject.c | 2 |
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 */ |