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 c55c020 commit f014badCopy full SHA for f014bad
Doc/library/string.rst
@@ -326,7 +326,7 @@ The general form of a *standard format specifier* is:
326
sign: "+" | "-" | " "
327
width_and_precision: [`width_with_grouping`][`precision_with_grouping`]
328
width_with_grouping: [`width`][`grouping`]
329
- precision_with_grouping: "." [`precision`][`grouping`]
+ precision_with_grouping: "." (`precision` [`grouping`] | `grouping`)
330
width: `~python-grammar:digit`+
331
precision: `~python-grammar:digit`+
332
grouping: "," | "_"
0 commit comments