mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Get rid of RuntimeError.
This commit is contained in:
parent
4fe872988b
commit
444db07d3c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue