[issue13718] Format Specification Mini-Language does not accept comma for percent value

Stefan Krah report at bugs.python.org
Mon Jan 9 19:43:16 CET 2012

Stefan Krah <stefan-usenet at bytereef.org> added the comment:


The ',' must be before [.precision]:

>>> '{:,.2%}'.format(55.537568)

In my opinion this is not a bug.

nosy: +skrah

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list