summaryrefslogtreecommitdiff
path: root/Modules/mathmodule.c
diff options
context:
space:
mode:
authorAndrew Kuchling <amk@amk.ca>2014-02-16 12:09:35 -0500
committerAndrew Kuchling <amk@amk.ca>2014-02-16 12:09:35 -0500
commit3137885c363260e34b47d60a03a5464289ae796c (patch)
treefbe05bb8ebdbedd1fbe878a0f14b535d3079cf31 /Modules/mathmodule.c
parent8cb1ec3274fff35a3613dd9fa8f0c99b4f472119 (diff)
downloadcpython-git-3137885c363260e34b47d60a03a5464289ae796c.tar.gz
#12211: remove paragraph about NaNs
Diffstat (limited to 'Modules/mathmodule.c')
-rw-r--r--Modules/mathmodule.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c
index 00e2612fd3..7f094ffb53 100644
--- a/Modules/mathmodule.c
+++ b/Modules/mathmodule.c
@@ -908,9 +908,7 @@ PyDoc_STRVAR(math_ceil_doc,
FUNC2(copysign, copysign,
"copysign(x, y)\n\nReturn a float with the magnitude (absolute value) "
"of x but the sign \nof y. On platforms that support signed zeros, "
- "copysign(1.0, -0.0) \nreturns -1.0.\n\n"
- "If x is NaN, y is ignored and NaN is returned. If y is NaN, it is\n"
- "treated as positive.")
+ "copysign(1.0, -0.0) \nreturns -1.0.\n")
FUNC1(cos, cos, 0,
"cos(x)\n\nReturn the cosine of x (measured in radians).")
FUNC1(cosh, cosh, 1,