Éric Araujo mer...@netwok.org added the comment:
FTR the doc for ',' was added in a6e7ed52df9b and fa16acb2ffdd.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13718
___
Stefan Krah stefan-use...@bytereef.org added the comment:
[[fill]align][sign][#][0][width][,][.precision][type]
The ',' must be before [.precision]:
'{:,.2%}'.format(55.537568)
'5,553.76%'
In my opinion this is not a bug.
--
nosy: +skrah
___
Eric V. Smith e...@trueblade.com added the comment:
Good point. I hadn't looked at the string closely enough. Closing.
--
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
New submission from Michael Kesper mkes...@schokokeks.org:
http://docs.python.org/library/string.html#format-specification-mini-language
mentions:
Changed in version 2.7: Added the ',' option (see also PEP 378).
PEP 378 tells me:
The ',' option is defined as shown above for types 'd', 'e',
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +eric.smith, ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13718
___
___
Changes by Eric V. Smith e...@trueblade.com:
--
assignee: - eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13718
___
___