summaryrefslogtreecommitdiff
path: root/Python/random.c
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2013-01-24 15:22:33 +0100
committerStefan Krah <skrah@bytereef.org>2013-01-24 15:22:33 +0100
commiteb8c451bd27e64356d848c5e0a0d35b9d70371ca (patch)
treec9fffbdf32871a96d440e376e93844b3a2295e6a /Python/random.c
parent33f7cdd9751b23b4ab5b9419c1209dc30c86fa39 (diff)
downloadcpython-git-eb8c451bd27e64356d848c5e0a0d35b9d70371ca.tar.gz
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.
Diffstat (limited to 'Python/random.c')
0 files changed, 0 insertions, 0 deletions