summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-12-07 15:47:31 (GMT)
committerGitHub <noreply@github.com>2021-12-07 15:47:31 (GMT)
commit14f03ce6e8a33cc8b45f11c4d428193fc7c4a145 (patch)
tree08edf9b36c5ff85fbce120af92bf2aa21ea075a4 /Doc/library
parentc52141200364898818956a73b955f7c04f634dc8 (diff)
downloadcpython-14f03ce6e8a33cc8b45f11c4d428193fc7c4a145.zip
cpython-14f03ce6e8a33cc8b45f11c4d428193fc7c4a145.tar.gz
cpython-14f03ce6e8a33cc8b45f11c4d428193fc7c4a145.tar.bz2
[3.10] bpo-35821: Fix restructuredtext code formatting in logging.rst (GH-29963) (GH-29965)
(cherry picked from commit c7e7a4b969b5728d4b4f3c59bf98e1e830d5c6d6) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Automerge-Triggered-By: GH:Fidget-Spinner
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/logging.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index ade4a3c..74b1f69 100644
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -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``.