commit | 444db07d3cb58e2161bb1e314eb0a4d8137ff64c | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Feb 26 15:26:56 1992 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Feb 26 15:26:56 1992 +0000 |
tree | b4f109ab83f5838884df784b54be678c50cebc96 | |
parent | 4fe872988b3dd9edf004160c44076df839f14516 [diff] [blame] |
Get rid of RuntimeError.
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 @@ else if (errno == ERANGE) err_setstr(OverflowError, "math range error"); else - err_errno(RuntimeError); + err_errno(ValueError); /* Unexpected math error */ return NULL; }