summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-09-01 03:57:12 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-09-01 03:57:12 (GMT)
commitb8edbdf4b986048e48b689baf339023c38384ae7 (patch)
tree33d61ab7d6e5252b6f5cd682ce45d92cfbfc896b /Doc/howto
parent95fc53f2b378e603dadb3629597b053c13e45965 (diff)
parent7af8ebb6ce7576a629206d9c063c0914b9b576bc (diff)
downloadcpython-b8edbdf4b986048e48b689baf339023c38384ae7.zip
cpython-b8edbdf4b986048e48b689baf339023c38384ae7.tar.gz
cpython-b8edbdf4b986048e48b689baf339023c38384ae7.tar.bz2
Merge doc changes from 3.2.
rstlint complains about packaging docs but I’m working on those in another patch.
Diffstat (limited to 'Doc/howto')
-rw-r--r--Doc/howto/logging.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst
index a7d6024..5ff0d74 100644
--- a/Doc/howto/logging.rst
+++ b/Doc/howto/logging.rst
@@ -412,10 +412,10 @@ With the logger object configured, the following methods create log messages:
:meth:`Logger.error`, and :meth:`Logger.critical` all create log records with
a message and a level that corresponds to their respective method names. The
message is actually a format string, which may contain the standard string
- substitution syntax of :const:`%s`, :const:`%d`, :const:`%f`, and so on. The
+ substitution syntax of ``%s``, ``%d``, ``%f``, and so on. The
rest of their arguments is a list of objects that correspond with the
- substitution fields in the message. With regard to :const:`**kwargs`, the
- logging methods care only about a keyword of :const:`exc_info` and use it to
+ substitution fields in the message. With regard to ``**kwargs``, the
+ logging methods care only about a keyword of ``exc_info`` and use it to
determine whether to log exception information.
* :meth:`Logger.exception` creates a log message similar to