Message115681
The PEP 3101 does not prohibit any character for the 'fill' argument.
Another example which just works:
>>> '{:{fill}^6}'.format(42, fill='{')
'{{42{{'
>>> '{:{fill}^6}'.format(42, fill='}')
'}}42}}'
I don't care if '{' and '}' are prohibited when using simple formatting syntax. This is not a common use case, and there are workarounds (either using format() builtin or the recursive formatting).
A documentation fix could be enough. |
|
Date |
User |
Action |
Args |
2010-09-06 01:21:30 | flox | set | recipients:
+ flox, eric.smith, eric.araujo, docs@python |
2010-09-06 01:21:30 | flox | set | messageid: <1283736090.19.0.854974367939.issue9780@psf.upfronthosting.co.za> |
2010-09-06 01:21:28 | flox | link | issue9780 messages |
2010-09-06 01:21:27 | flox | create | |
|