Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6bee23c

Browse files
author
Michael W. Hudson
committed
Oops, didn't mean to commit the removal of float_compare!
1 parent 957f977 commit 6bee23c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/floatobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ PyTypeObject PyFloat_Type = {
852852
(printfunc)float_print, /* tp_print */
853853
0, /* tp_getattr */
854854
0, /* tp_setattr */
855-
0, /* tp_compare */
855+
(cmpfunc)float_compare, /* tp_compare */
856856
(reprfunc)float_repr, /* tp_repr */
857857
&float_as_number, /* tp_as_number */
858858
0, /* tp_as_sequence */

0 commit comments

Comments
 (0)