summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAndrew Kuchling <amk@amk.ca>2014-02-16 17:09:35 (GMT)
committerAndrew Kuchling <amk@amk.ca>2014-02-16 17:09:35 (GMT)
commit3137885c363260e34b47d60a03a5464289ae796c (patch)
treefbe05bb8ebdbedd1fbe878a0f14b535d3079cf31 /Modules
parent8cb1ec3274fff35a3613dd9fa8f0c99b4f472119 (diff)
downloadcpython-3137885c363260e34b47d60a03a5464289ae796c.zip
cpython-3137885c363260e34b47d60a03a5464289ae796c.tar.gz
cpython-3137885c363260e34b47d60a03a5464289ae796c.tar.bz2
#12211: remove paragraph about NaNs
Diffstat (limited to 'Modules')
-rw-r--r--Modules/mathmodule.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c
index 00e2612..7f094ff 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,