mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
[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 929cc4e4a0
)
Co-authored-by: AlberLC <37489786+AlberLC@users.noreply.github.com>
This commit is contained in:
parent
655287996e
commit
cc12f6684e
1 changed files with 1 additions and 1 deletions
|
@ -907,7 +907,7 @@ you want to use.
|
||||||
|
|
||||||
In the case of {}-formatting, you can specify formatting flags by placing them
|
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
|
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
|
``004``. Refer to the :meth:`str.format` documentation for full details on
|
||||||
the options available to you.
|
the options available to you.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue