[issue3197] Documentation for fractions module needs work

Mark Dickinson report at bugs.python.org
Wed Jun 25 18:09:42 CEST 2008


Mark Dickinson <dickinsm at gmail.com> added the comment:

Here's a proposed new draft of the fractions documentation for 2.6.  
Apart from wording changes, it:

 - removes documentation for __floor__, __ceil__ and __round__, since
   those no longer exist in 2.6

 - describes construction from a decimal string;  e.g. Fraction('1.23')

 - gives the acceptable string inputs using BNF rather than via a regex.

Jeffrey: does this look reasonable?

----------
keywords: +patch
Added file: http://bugs.python.org/file10728/fractions_doc.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3197>
_______________________________________


More information about the Python-bugs-list mailing list