Skip to content

Commit

Permalink
gh-109451: Fix wrong format specifier in logging documentation (GH-10…
Browse files Browse the repository at this point in the history
  • Loading branch information
AlberLC authored Sep 16, 2023
1 parent a6846d4 commit 929cc4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ you want to use.

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

Expand Down

0 comments on commit 929cc4e

Please sign in to comment.