[Python-checkins] r67862 - python/trunk/Doc/library/math.rst
Raymond Hettinger
python at rcn.com
Sat Dec 20 10:17:27 CET 2008
From: "Mark Dickinson" <dickinsm at gmail.com>
> <benjamin.peterson> writes:
>> - Return the fractional and integer parts of *x*. Both results carry
>> the sign of
>> - *x*, and both are floats.
>> + 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.
>
> Isn't the extra sentence redundant here, given the 'both are floats'
> clause?
>
> Also, I think 'float' is better than 'real' in this context; the docstring
> should probably be fixed.
I concur.
Raymond
More information about the Python-checkins
mailing list