diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-19 13:43:42 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-19 13:43:42 (GMT) |
commit | a97cd2eb17e0dc829e02119ea6f04198a419ed20 (patch) | |
tree | ef03c46125b86e2cec7846b4d8fb4c071728067b /Doc/howto | |
parent | ecf41da83e5db98734b19f205899168cc56da943 (diff) | |
download | cpython-a97cd2eb17e0dc829e02119ea6f04198a419ed20.zip cpython-a97cd2eb17e0dc829e02119ea6f04198a419ed20.tar.gz cpython-a97cd2eb17e0dc829e02119ea6f04198a419ed20.tar.bz2 |
Issue #19795: Mark up True and False as literal text instead of bold.
Diffstat (limited to 'Doc/howto')
-rw-r--r-- | Doc/howto/logging.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst index f72f09f..8074b0f 100644 --- a/Doc/howto/logging.rst +++ b/Doc/howto/logging.rst @@ -464,7 +464,7 @@ ancestor loggers. Because of this, it is unnecessary to define and configure handlers for all the loggers an application uses. It is sufficient to configure handlers for a top-level logger and create child loggers as needed. (You can, however, turn off propagation by setting the *propagate* -attribute of a logger to *False*.) +attribute of a logger to ``False``.) .. _handler-basic: @@ -747,10 +747,10 @@ circumstances is dependent on the Python version. For versions of Python prior to 3.2, the behaviour is as follows: -* If *logging.raiseExceptions* is *False* (production mode), the event is +* If *logging.raiseExceptions* is ``False`` (production mode), the event is silently dropped. -* If *logging.raiseExceptions* is *True* (development mode), a message +* If *logging.raiseExceptions* is ``True`` (development mode), a message 'No handlers could be found for logger X.Y.Z' is printed once. In Python 3.2 and later, the behaviour is as follows: |