[issue1682] Move Demo/classes/Rat.py to Lib/rational.py and fix it up.

Guido van Rossum report at bugs.python.org
Sun Feb 10 18:04:52 CET 2008


Guido van Rossum added the comment:

> Fair enough.  Should it be fractions.Fraction or fraction.Fraction?

I think "from fractions import Fraction" is linguistically more
correct -- the concept is always mentioned in plural, but a fractional
number is of course singular.  We also have "numbers".

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1682>
__________________________________


More information about the Python-bugs-list mailing list