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
Next Next commit
+1
  • Loading branch information
skirpichev committed Mar 1, 2025
commit 6e50636209fbcf8ade5ef5ea1fa0df74dd1a5c19
4 changes: 2 additions & 2 deletions Doc/library/string.rst
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,8 @@ The general form of a *standard format specifier* is:
width_with_grouping: [`width`][`grouping_option`]
precision_with_grouping: "." [`precision`]`grouping_option`
grouping_option: "_" | ","
width: `digits`
precision: `digits`
width: "0" | `digits`
precision: "0" | `digits`
digits: `~python-grammar:nonzerodigit` `~python-grammar:digit`*
type: "b" | "c" | "d" | "e" | "E" | "f" | "F" | "g"
: | "G" | "n" | "o" | "s" | "x" | "X" | "%"
Expand Down