Skip to content

Commit 4aae176

Browse files
committed
address review: don't repeat description of digit group separator
1 parent 751d559 commit 4aae176

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/string.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -431,9 +431,9 @@ If not specified, then the field width will be determined by the content.
431431
When no explicit alignment is given, preceding the *width* field by a zero
432432
(``'0'``) character enables sign-aware zero-padding for numeric types,
433433
excluding :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

0 commit comments

Comments
 (0)