Yes, you are right.
Would it be a way out, to bind the "locale character" to the type?
[[fill]align][sign][#][0][width][grouping_option][.precision][type[#|$]]
___
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to
[[fill]align][sign][#][0][width][grouping_option][.precision][#|$][type]
Could not distinguish the first and second #: everything between them is
optional.
Eric
On 12/20/2019 7:13 AM, Michael Amrhein wrote:
Eric V. Smith wrote:
...
The current specification for the format spec is:
Eric V. Smith wrote:
...
> The current specification for the format spec is:
> [[fill]align][sign][#][0][width][grouping_option][.precision][type]
> Let's say we change it to:
> [[fill]align][sign][#][*|$][0][width][grouping_option][.precision][type]
...
> Let's call the new [*|$] character the