[docs] Quoting in Format Grammar
Heinrich Hartmann
heinrich at heinrichhartmann.com
Thu Mar 19 12:38:05 CET 2015
Hi there,
in the str.format grammar you are very careful to get the quoting of
terminal symbols right, e.g. "!", ":" are all quoted.
However, in the format_spec grammar you are less careful with quoting
terminal symbols:
```
.. productionlist:: sf
format_spec:
[[`fill`]`align`][`sign`][#][0][`width`][,][.`precision`][`type`]
```
IMHO symbols "#", "0", ",", "." should all be quoted.
Or am I missing something here?
Best regards,
Heinrich Hartmann
--
Dr. Heinrich Hartmann
Math & IT Consulting
Web: HeinrichHartmann.com
Work: +49 1525 3638134
Post: Stefan-George Ring 41; D-81929 München
More information about the docs
mailing list