diff options
author | AlberLC <37489786+AlberLC@users.noreply.github.com> | 2023-09-16 09:06:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-16 09:06:04 (GMT) |
commit | 929cc4e4a0999b777e1aa94f9c007db720e67f43 (patch) | |
tree | 8ebe82ebe639eeffca5d248c567a90403549a2c4 | |
parent | a6846d45ff3c836bc859c40e7684b57df991dc05 (diff) | |
download | cpython-929cc4e4a0999b777e1aa94f9c007db720e67f43.zip cpython-929cc4e4a0999b777e1aa94f9c007db720e67f43.tar.gz cpython-929cc4e4a0999b777e1aa94f9c007db720e67f43.tar.bz2 |
gh-109451: Fix wrong format specifier in logging documentation (GH-109465)
-rw-r--r-- | Doc/library/logging.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index cf3dcb9..acdeb88 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -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. |