[issue15136] Decimal accepting Fraction

Jon Clements report at bugs.python.org
Fri Jun 22 14:45:31 CEST 2012


Jon Clements <joncle at googlemail.com> added the comment:

Not sure what's going on with my machine today: keep sending things to early.

I meant:

D.from_fraction(F)

where if F is not of type Fraction, then the args are used to construct a Fraction - so can use an existing or create one.

----------

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


More information about the Python-bugs-list mailing list