Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'main' into fix-fmt-docs/130662
  • Loading branch information
skirpichev authored Apr 6, 2025
commit 22413e3399cffd83b00fa676440a22b408f32cbf
6 changes: 3 additions & 3 deletions Doc/library/string.rst
Original file line number Diff line number Diff line change
Expand Up @@ -325,12 +325,12 @@ The general form of a *standard format specifier* is:
align: "<" | ">" | "=" | "^"
sign: "+" | "-" | " "
width_and_precision: [`width_with_grouping`][`precision_with_grouping`]
width_with_grouping: [`width`][`grouping_option`]
precision_with_grouping: "." [`precision`]`grouping_option`
grouping_option: "_" | ","
width_with_grouping: [`width`][`grouping`]
precision_with_grouping: "." [`precision`][`grouping`]
width: "0" | `digits`
precision: "0" | `digits`
digits: `~python-grammar:nonzerodigit` `~python-grammar:digit`*
grouping: "," | "_"
type: "b" | "c" | "d" | "e" | "E" | "f" | "F" | "g"
: | "G" | "n" | "o" | "s" | "x" | "X" | "%"

Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.