[issue3197] Documentation for fractions module needs work

2008-06-27 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: > Shouldn't make the second '.' optional or this will match plain > numerators too. Thanks. Fixed, and committed in r64561 (trunk), and r64562 (py3k). -- resolution: -> fixed status: open -> closed

[issue3197] Documentation for fractions module needs work

2008-06-27 Thread Jeffrey Yasskin
Jeffrey Yasskin <[EMAIL PROTECTED]> added the comment: > [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! ___ Python tracker <

[issue3197] Documentation for fractions module needs work

2008-06-27 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: Here's an updated doc patch; it fixes an indentation issue in the previous patch, and adds documentation for the exported gcd function. Added file: http://bugs.python.org/file10750/fractions_doc2.patch _

[issue3197] Documentation for fractions module needs work

2008-06-25 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> 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 deci

[issue3197] Documentation for fractions module needs work

2008-06-25 Thread Mark Dickinson
New submission from Mark Dickinson <[EMAIL PROTECTED]>: 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_