summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorC.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>2022-10-17 23:49:47 (GMT)
committerGitHub <noreply@github.com>2022-10-17 23:49:47 (GMT)
commitb2db1c208066b67bdf57bf3799de50352fe63416 (patch)
treee7e5e88de36a2247d22cb626094edaf5a5a2b525 /Doc/howto
parent3adf23471ee951a435f2ffa336a52bc6800a209a (diff)
downloadcpython-b2db1c208066b67bdf57bf3799de50352fe63416.zip
cpython-b2db1c208066b67bdf57bf3799de50352fe63416.tar.gz
cpython-b2db1c208066b67bdf57bf3799de50352fe63416.tar.bz2
[3.10] Docs: Fix backtick errors found by sphinx-lint (GH-97998) (#98373)
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>. (cherry picked from commit fa2d43e5184f5eaf3391844ec2400342a1b2ead4) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Diffstat (limited to 'Doc/howto')
-rw-r--r--Doc/howto/logging.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst
index 0115a94..b227659 100644
--- a/Doc/howto/logging.rst
+++ b/Doc/howto/logging.rst
@@ -552,14 +552,14 @@ raw message. If there is no date format string, the default date format is:
%Y-%m-%d %H:%M:%S
-with the milliseconds tacked on at the end. The ``style`` is one of `%`, '{'
-or '$'. If one of these is not specified, then '%' will be used.
+with the milliseconds tacked on at the end. The ``style`` is one of ``'%'``,
+``'{'``, or ``'$'``. If one of these is not specified, then ``'%'`` will be used.
-If the ``style`` is '%', the message format string uses
+If the ``style`` is ``'%'``, the message format string uses
``%(<dictionary key>)s`` styled string substitution; the possible keys are
-documented in :ref:`logrecord-attributes`. If the style is '{', the message
+documented in :ref:`logrecord-attributes`. If the style is ``'{'``, the message
format string is assumed to be compatible with :meth:`str.format` (using
-keyword arguments), while if the style is '$' then the message format string
+keyword arguments), while if the style is ``'$'`` then the message format string
should conform to what is expected by :meth:`string.Template.substitute`.
.. versionchanged:: 3.2