Commit 444db07d authored by Guido van Rossum's avatar Guido van Rossum

Get rid of RuntimeError.

parent 4fe87298
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment