Skip to content

Commit f64bce8

Browse files
committed
Merged revisions 71548 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r71548 | eric.smith | 2009-04-12 20:29:50 -0400 (Sun, 12 Apr 2009) | 1 line Fixed incorrect object passed into format_float_internal(). This was resulting in a conversion being done twice. ........
1 parent 8ad7691 commit f64bce8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/stringlib/formatter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ format_int_or_long(PyObject* obj,
968968
tmp = PyNumber_Float(obj);
969969
if (tmp == NULL)
970970
goto done;
971-
result = format_float_internal(obj, &format);
971+
result = format_float_internal(tmp, &format);
972972
break;
973973

974974
default:

0 commit comments

Comments
 (0)