8000 address review · python/cpython@b406151 · GitHub
[go: up one dir, main page]

Skip to content

Commit b406151

Browse files
committed
address review
1 parent 1a2d3e4 commit b406151

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

Modules/clinic/mathmodule.c.h

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/mathmodule.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,13 +1241,11 @@ math.signbit
12411241
/
12421242
12431243
Return True if the sign of 'x' is negative and False otherwise.
1244-
1245-
This is useful to detect the sign bit of zeroes, infinities and NaNs.
12461244
[clinic start generated code]*/
12471245

12481246
static PyObject *
12491247
math_signbit_impl(PyObject *module, double x)
1250-
/*[clinic end generated code: output=20c5f20156a9b871 input=1765b06afd3c4bd0]*/
1248+
/*[clinic end generated code: output=20c5f20156a9b871 input=f12226994b37d7a4]*/
12511249
{
12521250
return PyBool_FromLong(signbit(x));
12531251
}

0 commit comments

Comments
 (0)
0