[docs] [issue19933] Round default argument for "ndigits"

Mark Dickinson report at bugs.python.org
Mon Dec 9 09:30:47 CET 2013


Mark Dickinson added the comment:

> After patch:
> round(1.23, 0) => 1 not 1.0
> round(4.67, 0) => 5 not 5.0

Please no!  Two-argument round should continue to return a float in all cases.

The docs should be fixed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19933>
_______________________________________


More information about the docs mailing list