The documentation for the fractions module needs some rewriting---it contains minor inaccuracies, outdated statements (e.g. the regex is incomplete), and there are places that could use some clarification (e.g. the description of __round__). I plan to take care of this in the next few days, unless anyone else wants to have a look. I'm making an issue of it so that it doesn't get forgotten.
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?
> [sign] integer '.' [fraction] | [sign] ['.'] fraction Shouldn't make the second '.' optional or this will match plain numerators too. Otherwise, looks good. Thanks for fixing this!