Get rid of RuntimeError.

This commit is contained in:
Guido van Rossum 1992-02-26 15:26:56 +00:00
parent 4fe872988b
commit 444db07d3c

View file

@ -55,7 +55,7 @@ math_error()
else if (errno == ERANGE) else if (errno == ERANGE)
err_setstr(OverflowError, "math range error"); err_setstr(OverflowError, "math range error");
else else
err_errno(RuntimeError); err_errno(ValueError); /* Unexpected math error */
return NULL; return NULL;
} }