]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-35821: Fix restructuredtext code formatting in logging.rst (GH-29963)
authorKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Tue, 7 Dec 2021 15:25:13 +0000 (23:25 +0800)
committerGitHub <noreply@github.com>
Tue, 7 Dec 2021 15:25:13 +0000 (23:25 +0800)
Doc/library/logging.rst

index e7c64e5ba4036441b3fb22f92180c4c7a73b138e..ea6494f219ae7658e37b154c4c00f1da4fbd9ca4 100644 (file)
@@ -81,12 +81,12 @@ is the module's name in the Python package namespace.
       of ancestor loggers.
 
       Spelling it out with an example: If the propagate attribute of the logger named
-      `A.B.C` evaluates to true, any event logged to `A.B.C` via a method call such as
-      `logging.getLogger('A.B.C').error(...)` will [subject to passing that logger's
+      ``A.B.C`` evaluates to true, any event logged to ``A.B.C`` via a method call such as
+      ``logging.getLogger('A.B.C').error(...)`` will [subject to passing that logger's
       level and filter settings] be passed in turn to any handlers attached to loggers
-      named `A.B`, `A` and the root logger, after first being passed to any handlers
-      attached to `A.B.C`. If any logger in the chain `A.B.C`, `A.B`, `A` has its
-      `propagate` attribute set to false, then that is the last logger whose handlers
+      named ``A.B``, ``A`` and the root logger, after first being passed to any handlers
+      attached to ``A.B.C``. If any logger in the chain ``A.B.C``, ``A.B``, ``A`` has its
+      ``propagate`` attribute set to false, then that is the last logger whose handlers
       are offered the event to handle, and propagation stops at that point.
 
       The constructor sets this attribute to ``True``.