mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #19795: Mark up True and False as literal text instead of bold.
This commit is contained in:
commit
0bbf8c08ab
9 changed files with 16 additions and 16 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue