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

Skip to content

Commit f6a55ce

Browse files
committed
address review
1 parent 1a2d3e4 commit f6a55ce

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
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: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,14 +1240,12 @@ math.signbit
12401240
x: double
12411241
/
12421242
1243-
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.
1243+
Return True if the sign of x is negative and False otherwise.
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=3d3493fbcb5bdb3e]*/
12511249
{
12521250
return PyBool_FromLong(signbit(x));
12531251
}

0 commit comments

Comments
 (0)
0