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.
precision_with_grouping
1 parent ee65ebd commit 7828d52Copy full SHA for 7828d52
Doc/library/string.rst
@@ -328,7 +328,7 @@ The general form of a *standard format specifier* is:
328
sign: "+" | "-" | " "
329
width_and_precision: [`width_with_grouping`][`precision_with_grouping`]
330
width_with_grouping: [`width`][`grouping`]
331
- precision_with_grouping: "." [`precision`][`grouping`]
+ precision_with_grouping: "." [`precision`][`grouping`] | "." `grouping`
332
width: `~python-grammar:digit`+
333
precision: `~python-grammar:digit`+
334
grouping: "," | "_"
0 commit comments