Skip to content

Commit cc12f66

Browse files
[3.12] gh-109451: Fix wrong format specifier in logging documentation (GH-109465) (#109483)
gh-109451: Fix wrong format specifier in logging documentation (GH-109465) (cherry picked from commit 929cc4e) Co-authored-by: AlberLC <[email protected]>
1 parent 6552879 commit cc12f66

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)