From: Benjamin Peterson Date: Sat, 20 Dec 2008 22:49:24 +0000 (+0000) Subject: remove redundant sentence X-Git-Tag: v2.7a1~2520 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9de729810274da47f3408cc4b869a13672e18bec;p=thirdparty%2FPython%2Fcpython.git remove redundant sentence --- diff --git a/Doc/library/math.rst b/Doc/library/math.rst index 1eb2d717af08..39fde8217117 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 01d3991d71d1..952d56a48ad6 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