Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 444db07

Browse files
committed
Get rid of RuntimeError.
1 parent 4fe8729 commit 444db07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/mathmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ math_error()
5555
else if (errno == ERANGE)
5656
err_setstr(OverflowError, "math range error");
5757
else
58-
err_errno(RuntimeError);
58+
err_errno(ValueError); /* Unexpected math error */
5959
return NULL;
6060
}
6161

0 commit comments

Comments
 (0)