Skip to content

Commit

Permalink
Further improved ',' and '_' specification in format mini-language.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericvsmith committed Sep 10, 2016
1 parent fef4391 commit d7665ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/string.rst
Original file line number Diff line number Diff line change
Expand Up @@ -300,12 +300,12 @@ non-empty format string typically modifies the result.
The general form of a *standard format specifier* is:

.. 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>
align: "<" | ">" | "=" | "^"
sign: "+" | "-" | " "
width: `integer`
option: "_" | ","
grouping_option: "_" | ","
precision: `integer`
type: "b" | "c" | "d" | "e" | "E" | "f" | "F" | "g" | "G" | "n" | "o" | "s" | "x" | "X" | "%"

Expand Down

0 comments on commit d7665ca

Please sign in to comment.