commit | 984bb58000df9cdba438c7ecb0bae5ad67878696 | [log] [tgz] |
---|---|---|
author | Eric Smith <eric@trueblade.com> | Thu Nov 25 16:08:06 2010 +0000 |
committer | Eric Smith <eric@trueblade.com> | Thu Nov 25 16:08:06 2010 +0000 |
tree | 87077ab2bbe949b5241ed9db5f2073572094ffde | |
parent | c1d98d685032dd831ced32463b3f88cce6af4067 [diff] |
Issue #7094: Add alternate ('#') flag to __format__ methods for float, complex and Decimal. Allows greater control over when decimal points appear. Added to make transitioning from %-formatting easier. '#g' still has a problem with Decimal which I'll fix soon.