This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients docs@python, eric.smith
Date 2013-10-18.21:31:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382131901.96.0.924496461441.issue19289@psf.upfronthosting.co.za>
In-reply-to
Content
In http://docs.python.org/library/string.html#format-specification-mini-language, it says "The fill character can be any character other than ‘{‘ or ‘}’."

But that's not actually true. It's only true when using str.format, as it does the parsing and the { and } mean special things for that parser. 

But for format itself there is no restriction:

>>> format(3, '{>10')
'{{{{{{{{{3'

As this section should be documenting the format specifiers themselves, I think it should not concern itself with restrictions imposed by str.format.
History
Date User Action Args
2013-10-18 21:31:42eric.smithsetrecipients: + eric.smith, docs@python
2013-10-18 21:31:41eric.smithsetmessageid: <1382131901.96.0.924496461441.issue19289@psf.upfronthosting.co.za>
2013-10-18 21:31:41eric.smithlinkissue19289 messages
2013-10-18 21:31:41eric.smithcreate