Skip to content

Commit 9b38cbe

Browse files
[3.11] gh-109451: Fix wrong format specifier in logging documentation (GH-109465) (GH-109482)
(cherry picked from commit 929cc4e)
1 parent e16a9af commit 9b38cbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/logging.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ you want to use.
890890

891891
In the case of {}-formatting, you can specify formatting flags by placing them
892892
after the attribute name, separated from it with a colon. For example: a
893-
placeholder of ``{msecs:03d}`` would format a millisecond value of ``4`` as
893+
placeholder of ``{msecs:03.0f}`` would format a millisecond value of ``4`` as
894894
``004``. Refer to the :meth:`str.format` documentation for full details on
895895
the options available to you.
896896

0 commit comments

Comments
 (0)