]> granicus.if.org Git - python/commit
Since the return type of format() is not a Decimal, raise ValueError instead of
authorStefan Krah <skrah@bytereef.org>
Thu, 24 Jan 2013 14:22:33 +0000 (15:22 +0100)
committerStefan Krah <skrah@bytereef.org>
Thu, 24 Jan 2013 14:22:33 +0000 (15:22 +0100)
commiteb8c451bd27e64356d848c5e0a0d35b9d70371ca
treec9fffbdf32871a96d440e376e93844b3a2295e6a
parent33f7cdd9751b23b4ab5b9419c1209dc30c86fa39
Since the return type of format() is not a Decimal, raise ValueError instead of
InvalidOperation if the format specification (width, prec) exceeds the internal
limits of libmpdec.
Lib/test/test_decimal.py
Modules/_decimal/_decimal.c