Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-102837: few coverage nitpicks for the math module #102523

Merged
merged 20 commits into from
Sep 3, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Amend 9c32ae0 (comment restored)
  • Loading branch information
skirpichev committed Sep 2, 2023
commit b991b7c327af625d063449b62c34fdd289b194a4
1 change: 1 addition & 0 deletions Modules/mathmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -971,6 +971,7 @@ math_1(PyObject *arg, double (*func) (double), int can_overflow)
errno = EDOM;
}
if (errno && is_error(r))
skirpichev marked this conversation as resolved.
Show resolved Hide resolved
/* this branch unnecessary on most platforms */
return NULL;
return PyFloat_FromDouble(r);
}
Expand Down
Loading