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

Vajrasky Kok report at bugs.python.org
Mon Dec 9 07:52:30 CET 2013


Vajrasky Kok added the comment:

Here is the preliminary patch.

After patch:

round(1.23, 0) => 1 not 1.0

round(4.67, 0) => 5 not 5.0

----------
keywords: +patch
nosy: +vajrasky
Added file: http://bugs.python.org/file33051/fix_round_with_zero_ndigits.patch

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


More information about the docs mailing list