Issue #7094: Add alternate ('#') flag to __format__ methods for float, complex...
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.
Showing
Please register or sign in to comment