Skip to content

Commit

Permalink
pythongh-109451: Fix wrong format specifier in logging documentation (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
AlberLC authored and csm10495 committed Sep 28, 2023
1 parent b7ff008 commit d152179
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 d152179

Please sign in to comment.