From: Guido van Rossum Date: Wed, 26 Feb 1992 15:26:56 +0000 (+0000) Subject: Get rid of RuntimeError. X-Git-Tag: v0.9.8~504 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=444db07d3cb58e2161bb1e314eb0a4d8137ff64c;p=thirdparty%2FPython%2Fcpython.git Get rid of RuntimeError. --- diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index 03b0705c1d44..e6decaa0a839 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; }