[issue4707] round(25, 1) should return an integer, not a float
Mark Dickinson
report at bugs.python.org
Mon Jan 26 12:08:22 CET 2009
Mark Dickinson <dickinsm at gmail.com> added the comment:
Some minor modifications to the last patch:
- fix round docstring: it now reads "round(number[, ndigits]) -> number"
instead of "round(number[, ndigits]) -> floating-point number"
- add Misc/NEWS entry
- add extra tests for round(x, n) with n huge and positive
----------
stage: -> commit review
versions: +Python 3.1
Added file: http://bugs.python.org/file12865/round_int_int5.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4707>
_______________________________________
More information about the Python-bugs-list
mailing list