diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-12-20 22:49:24 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-12-20 22:49:24 +0000 |
commit | 9de729810274da47f3408cc4b869a13672e18bec (patch) | |
tree | 9cdaa3ebe7f1f280003877828a77f9243499c65c | |
parent | fed67fd41e63cb3dcb2b5716a4e2c08613962c21 (diff) | |
download | cpython-git-9de729810274da47f3408cc4b869a13672e18bec.tar.gz |
remove redundant sentence
-rw-r--r-- | Doc/library/math.rst | 2 | ||||
-rw-r--r-- | Modules/mathmodule.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst index 1eb2d717af..39fde82171 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 01d3991d71..952d56a48a 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 |