[issue23602] Implement __format__ for Fraction

Stefan Krah report at bugs.python.org
Thu Mar 26 16:37:25 CET 2015


Stefan Krah added the comment:

The zero isn't missing. :)  We are following http://speleotrove.com/decimal/decarith.html, with thousands of test cases.

We could decide to do something special for "g", but there are good reasons not to do that.

----------

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


More information about the Python-bugs-list mailing list