summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlberLC <37489786+AlberLC@users.noreply.github.com>2023-09-16 09:06:04 (GMT)
committerGitHub <noreply@github.com>2023-09-16 09:06:04 (GMT)
commit929cc4e4a0999b777e1aa94f9c007db720e67f43 (patch)
tree8ebe82ebe639eeffca5d248c567a90403549a2c4
parenta6846d45ff3c836bc859c40e7684b57df991dc05 (diff)
downloadcpython-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.rst2
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.