mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-134449: fix grammar for precision_with_grouping
in format description (#134608)
This amends commit f39a07be47
.
This commit is contained in:
parent
ee65ebdb50
commit
7828d52680
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ The general form of a *standard format specifier* is:
|
|||
sign: "+" | "-" | " "
|
||||
width_and_precision: [`width_with_grouping`][`precision_with_grouping`]
|
||||
width_with_grouping: [`width`][`grouping`]
|
||||
precision_with_grouping: "." [`precision`][`grouping`]
|
||||
precision_with_grouping: "." [`precision`][`grouping`] | "." `grouping`
|
||||
width: `~python-grammar:digit`+
|
||||
precision: `~python-grammar:digit`+
|
||||
grouping: "," | "_"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue