[issue19933] Round default argument for "ndigits"

João Bernardo report at bugs.python.org
Mon Dec 9 16:25:04 CET 2013


João Bernardo added the comment:

> Anyway, why not round(1.2) -> 1.0 in the first place? Just curious.

It was the behavior on Python 2.x, but somehow when they changed the rounding method to nearest even number this happened... I think it's too late to change back the return type.

----------

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


More information about the Python-bugs-list mailing list