Skip to content

Commit c7e7a4b

Browse files
bpo-35821: Fix restructuredtext code formatting in logging.rst (GH-29963)
1 parent 1c7a1c3 commit c7e7a4b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Doc/library/logging.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@ is the module's name in the Python package namespace.
8181
of ancestor loggers.
8282

8383
Spelling it out with an example: If the propagate attribute of the logger named
84-
`A.B.C` evaluates to true, any event logged to `A.B.C` via a method call such as
85-
`logging.getLogger('A.B.C').error(...)` will [subject to passing that logger's
84+
``A.B.C`` evaluates to true, any event logged to ``A.B.C`` via a method call such as
85+
``logging.getLogger('A.B.C').error(...)`` will [subject to passing that logger's
8686
level and filter settings] be passed in turn to any handlers attached to loggers
87-
named `A.B`, `A` and the root logger, after first being passed to any handlers
88-
attached to `A.B.C`. If any logger in the chain `A.B.C`, `A.B`, `A` has its
89-
`propagate` attribute set to false, then that is the last logger whose handlers
87+
named ``A.B``, ``A`` and the root logger, after first being passed to any handlers
88+
attached to ``A.B.C``. If any logger in the chain ``A.B.C``, ``A.B``, ``A`` has its
89+
``propagate`` attribute set to false, then that is the last logger whose handlers
9090
are offered the event to handle, and propagation stops at that point.
9191

9292
The constructor sets this attribute to ``True``.

0 commit comments

Comments
 (0)