Skip to content

Commit 53c13a8

Browse files
author
benjamin.peterson
committed
remove redundant sentence
git-svn-id: http://svn.python.org/projects/python/trunk@67880 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 4af437c commit 53c13a8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/math.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Number-theoretic and representation functions
125125
.. function:: modf(x)
126126

127127
Return the fractional and integer parts of *x*. Both results carry the sign
128-
of *x*, and both are floats. The integer part is returned as a real.
128+
of *x* and are floats.
129129

130130

131131
.. function:: trunc(x)

Modules/mathmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ PyDoc_STRVAR(math_modf_doc,
767767
"modf(x)\n"
768768
"\n"
769769
"Return the fractional and integer parts of x. Both results carry the sign\n"
770-
"of x. The integer part is returned as a real.");
770+
"of x and are floats.");
771771

772772
/* A decent logarithm is easy to compute even for huge longs, but libm can't
773773
do that by itself -- loghelper can. func is log or log10, and name is

0 commit comments

Comments
 (0)