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

Mark Dickinson report at bugs.python.org
Mon Dec 9 13:04:29 CET 2013

Mark Dickinson added the comment:

Thanks.  It's inaccurate to say that a float is returned in general, though:  for most builtin numeric types, what's returned has the same type as its input.  So rounding a Decimal to two places gives a Decimal on output, etc.  (That's already explained in the next paragraph.)


Python tracker <report at bugs.python.org>

More information about the docs mailing list