Further improved ',' and '_' specification in format mini-language.

This commit is contained in:
Eric V. Smith 2016-09-09 23:13:01 -04:00
parent fef4391c88
commit d7665ca7a4
1 changed files with 2 additions and 2 deletions

View File

@ -300,12 +300,12 @@ non-empty format string typically modifies the result.
The general form of a *standard format specifier* is: The general form of a *standard format specifier* is:
.. productionlist:: sf .. productionlist:: sf
format_spec: [[`fill`]`align`][`sign`][#][0][`width`][`option`][.`precision`][`type`] format_spec: [[`fill`]`align`][`sign`][#][0][`width`][`grouping_option`][.`precision`][`type`]
fill: <any character> fill: <any character>
align: "<" | ">" | "=" | "^" align: "<" | ">" | "=" | "^"
sign: "+" | "-" | " " sign: "+" | "-" | " "
width: `integer` width: `integer`
option: "_" | "," grouping_option: "_" | ","
precision: `integer` precision: `integer`
type: "b" | "c" | "d" | "e" | "E" | "f" | "F" | "g" | "G" | "n" | "o" | "s" | "x" | "X" | "%" type: "b" | "c" | "d" | "e" | "E" | "f" | "F" | "g" | "G" | "n" | "o" | "s" | "x" | "X" | "%"