We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e1b1a commit fef4391Copy full SHA for fef4391
1 file changed
Doc/library/string.rst
@@ -300,11 +300,12 @@ non-empty format string typically modifies the result.
300
The general form of a *standard format specifier* is:
301
302
.. productionlist:: sf
303
- format_spec: [[`fill`]`align`][`sign`][#][0][`width`][,][_][.`precision`][`type`]
+ format_spec: [[`fill`]`align`][`sign`][#][0][`width`][`option`][.`precision`][`type`]
304
fill: <any character>
305
align: "<" | ">" | "=" | "^"
306
sign: "+" | "-" | " "
307
width: `integer`
308
+ option: "_" | ","
309
precision: `integer`
310
type: "b" | "c" | "d" | "e" | "E" | "f" | "F" | "g" | "G" | "n" | "o" | "s" | "x" | "X" | "%"
311
0 commit comments