[Python-checkins] r67880 - in python/trunk: Doc/library/math.rst Modules/mathmodule.c

benjamin.peterson python-checkins at python.org
Sat Dec 20 23:49:24 CET 2008


Author: benjamin.peterson
Date: Sat Dec 20 23:49:24 2008
New Revision: 67880

Log:
remove redundant sentence

Modified:
   python/trunk/Doc/library/math.rst
   python/trunk/Modules/mathmodule.c

Modified: python/trunk/Doc/library/math.rst
==============================================================================
--- python/trunk/Doc/library/math.rst	(original)
+++ python/trunk/Doc/library/math.rst	Sat Dec 20 23:49:24 2008
@@ -125,7 +125,7 @@
 .. 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)

Modified: python/trunk/Modules/mathmodule.c
==============================================================================
--- python/trunk/Modules/mathmodule.c	(original)
+++ python/trunk/Modules/mathmodule.c	Sat Dec 20 23:49:24 2008
@@ -767,7 +767,7 @@
 "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


More information about the Python-checkins mailing list