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 c3d9508 commit 8b5fa28Copy full SHA for 8b5fa28
Doc/library/string.rst
@@ -304,9 +304,9 @@ The general form of a *standard format specifier* is:
304
fill: <any character>
305
align: "<" | ">" | "=" | "^"
306
sign: "+" | "-" | " "
307
- width: `integer`
+ width: `digit`+
308
grouping_option: "_" | ","
309
- precision: `integer`
+ precision: `digit`+
310
type: "b" | "c" | "d" | "e" | "E" | "f" | "F" | "g" | "G" | "n" | "o" | "s" | "x" | "X" | "%"
311
312
If a valid *align* value is specified, it can be preceded by a *fill*
0 commit comments