diff options
author | Guido van Rossum <guido@python.org> | 1992-02-26 15:26:56 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-02-26 15:26:56 (GMT) |
commit | 444db07d3cb58e2161bb1e314eb0a4d8137ff64c (patch) | |
tree | b4f109ab83f5838884df784b54be678c50cebc96 /Modules/mathmodule.c | |
parent | 4fe872988b3dd9edf004160c44076df839f14516 (diff) | |
download | cpython-444db07d3cb58e2161bb1e314eb0a4d8137ff64c.zip cpython-444db07d3cb58e2161bb1e314eb0a4d8137ff64c.tar.gz cpython-444db07d3cb58e2161bb1e314eb0a4d8137ff64c.tar.bz2 |
Get rid of RuntimeError.
Diffstat (limited to 'Modules/mathmodule.c')
-rw-r--r-- | Modules/mathmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index 03b0705..e6decaa 100644 --- a/Modules/mathmodule.c +++ b/Modules/mathmodule.c @@ -55,7 +55,7 @@ math_error() else if (errno == ERANGE) err_setstr(OverflowError, "math range error"); else - err_errno(RuntimeError); + err_errno(ValueError); /* Unexpected math error */ return NULL; } |