[Python-checkins] r67862 - python/trunk/Doc/library/math.rst

Mark Dickinson dickinsm at gmail.com
Sat Dec 20 10:15:21 CET 2008


 <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.







More information about the Python-checkins mailing list