diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2014-04-10 09:29:39 -0400 |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2014-04-10 09:29:39 -0400 |
commit | 5990d2864c73e1abc951c1d17741eab3e1b30be1 (patch) | |
tree | 8d0dc09622cce43651638572d87f6df9149ff935 /Python/pytime.c | |
parent | 6ed7c20ce5b01b69abbc01b9a22bdd9983db9c01 (diff) | |
download | cpython-git-5990d2864c73e1abc951c1d17741eab3e1b30be1.tar.gz |
Issue #20539: Improve math.factorial error messages and types for large inputs.
- Better message for the OverflowError in large positive inputs.
- Changed exception type from OverflowError to ValueError for large negative inputs.
Diffstat (limited to 'Python/pytime.c')
0 files changed, 0 insertions, 0 deletions