gh-134449: fix grammar for precision_with_grouping in format description (#134608)

This amends commit f39a07be47.
This commit is contained in:
Sergey B Kirpichev 2025-06-02 12:45:48 +03:00 committed by GitHub
parent ee65ebdb50
commit 7828d52680
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: "," | "_"