summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/math.rst2
-rw-r--r--Modules/mathmodule.c2
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