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.
1 parent 75f38af commit 3bb31f5Copy full SHA for 3bb31f5
Doc/library/string.rst
@@ -327,9 +327,10 @@ The general form of a *standard format specifier* is:
327
width_and_precision: [`width_with_grouping`][`precision_with_grouping`]
328
width_with_grouping: [`width`][`grouping_option`]
329
precision_with_grouping: "." [`precision`]`grouping_option`
330
- width: `~python-grammar:digit`+
331
grouping_option: "_" | ","
332
- precision: `~python-grammar:digit`+
+ width: `digits`
+ precision: `digits`
333
+ digits: `~python-grammar:nonzerodigit` `~python-grammar:digit`*
334
type: "b" | "c" | "d" | "e" | "E" | "f" | "F" | "g"
335
: | "G" | "n" | "o" | "s" | "x" | "X" | "%"
336
0 commit comments