From 9de729810274da47f3408cc4b869a13672e18bec Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 20 Dec 2008 22:49:24 +0000 Subject: remove redundant sentence --- Doc/library/math.rst | 2 +- Modules/mathmodule.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/math.rst b/Doc/library/math.rst index 1eb2d71..39fde82 100644 --- a/Doc/library/math.rst +++ b/Doc/library/math.rst @@ -125,7 +125,7 @@ Number-theoretic and representation functions .. function:: modf(x) Return the fractional and integer parts of *x*. Both results carry the sign - of *x*, and both are floats. The integer part is returned as a real. + of *x* and are floats. .. function:: trunc(x) diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index 01d3991..952d56a 100644 --- a/Modules/mathmodule.c +++ b/Modules/mathmodule.c @@ -767,7 +767,7 @@ PyDoc_STRVAR(math_modf_doc, "modf(x)\n" "\n" "Return the fractional and integer parts of x. Both results carry the sign\n" -"of x. The integer part is returned as a real."); +"of x and are floats."); /* A decent logarithm is easy to compute even for huge longs, but libm can't do that by itself -- loghelper can. func is log or log10, and name is -- cgit v0.12