Skip to content

Commit 929cc4e

Browse files
authored
gh-109451: Fix wrong format specifier in logging documentation (GH-109465)
1 parent a6846d4 commit 929cc4e

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
@@ -907,7 +907,7 @@ you want to use.
907907

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

0 commit comments

Comments
 (0)