Skip to content

Commit 3a5b479

Browse files
committed
gh-127852: add remark about ',' separator
1 parent 8bbd379 commit 3a5b479

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/string.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,8 @@ conversions, trailing zeros are not removed from the result.
409409

410410
.. index:: single: , (comma); in string formatting
411411

412-
The ``','`` option signals the use of a comma for a thousands separator.
412+
The ``','`` option signals the use of a comma for a thousands separator for
413+
floating-point presentation types and for integer presentation type ``'d'``.
413414
For a locale aware separator, use the ``'n'`` integer presentation type
414415
instead.
415416

0 commit comments

Comments
 (0)