]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
remove redundant sentence
authorBenjamin Peterson <benjamin@python.org>
Sat, 20 Dec 2008 22:49:24 +0000 (22:49 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sat, 20 Dec 2008 22:49:24 +0000 (22:49 +0000)
Doc/library/math.rst
Modules/mathmodule.c

index 1eb2d717af089f20175c3a59fcf8bc2da6a863dd..39fde8217117c660ccb8592685c61adc9b2ccae4 100644 (file)
@@ -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)
index 01d3991d71d13eeaa8ea35e109bfc39daf1fd7ba..952d56a48ad6dc2af3469cb28346aa2ea5c3fce6 100644 (file)
@@ -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