File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -431,9 +431,9 @@ If not specified, then the field width will be determined by the content.
431431When no explicit alignment is given, preceding the *width * field by a zero
432432(``'0' ``) character enables sign-aware zero-padding for numeric types,
433433excluding :class: `complex `. This is equivalent to a *fill * character of
434- ``'0' `` with an *alignment * type of ``'=' ``. If digit group separators of the
435- integral part of a number are used (as specified either by the `` ',' `` or `` '_' ``
436- option), they are also placed between leading zeros.
434+ ``'0' `` with an *alignment * type of ``'=' ``. If the * grouping * option for
435+ the integral part is used, a digit group separator is also inserted between
436+ leading zeros.
437437
438438.. versionchanged :: 3.10
439439 Preceding the *width * field by ``'0' `` no longer affects the default
You can’t perform that action at this time.
0 commit comments