[3.10] bpo-35821: Fix restructuredtext code formatting in logging.rst (GH-29963) (GH-29965)

(cherry picked from commit c7e7a4b969)


Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>

Automerge-Triggered-By: GH:Fidget-Spinner
This commit is contained in:
Miss Islington (bot) 2021-12-07 07:47:31 -08:00 committed by GitHub
parent c521412003
commit 14f03ce6e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -81,12 +81,12 @@ is the module's name in the Python package namespace.
of ancestor loggers. of ancestor loggers.
Spelling it out with an example: If the propagate attribute of the logger named 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 ``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 ``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 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 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 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 ``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. are offered the event to handle, and propagation stops at that point.
The constructor sets this attribute to ``True``. The constructor sets this attribute to ``True``.