summaryrefslogtreecommitdiffstats
path: root/Doc/library/logging.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-11-29 10:17:13 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-11-29 10:17:13 (GMT)
commitfbc1c268031a9c8fad65f49c8381b6145bd66ffc (patch)
tree61f0d5554573668c553dd9f39a50d74c12dd50bb /Doc/library/logging.rst
parent4b79518f83fa6c4dadd69326276032d74c8e3df7 (diff)
downloadcpython-fbc1c268031a9c8fad65f49c8381b6145bd66ffc.zip
cpython-fbc1c268031a9c8fad65f49c8381b6145bd66ffc.tar.gz
cpython-fbc1c268031a9c8fad65f49c8381b6145bd66ffc.tar.bz2
Issue #19795: Improved markup of True/False constants.
Diffstat (limited to 'Doc/library/logging.rst')
-rw-r--r--Doc/library/logging.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index e9df25e..3751501 100644
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -160,7 +160,7 @@ is the module's name in the Python package namespace.
is called to get the exception information.
The second optional keyword argument is *stack_info*, which defaults to
- False. If specified as True, stack information is added to the logging
+ ``False``. If true, stack information is added to the logging
message, including the actual logging call. Note that this is not the same
stack information as that displayed through specifying *exc_info*: The
former is stack frames from the bottom of the stack up to the logging call
@@ -308,7 +308,7 @@ is the module's name in the Python package namespace.
Checks to see if this logger has any handlers configured. This is done by
looking for handlers in this logger and its parents in the logger hierarchy.
- Returns True if a handler was found, else False. The method stops searching
+ Returns ``True`` if a handler was found, else ``False``. The method stops searching
up the hierarchy whenever a logger with the 'propagate' attribute set to
False is found - that will be the last logger which is checked for the
existence of handlers.
@@ -878,7 +878,7 @@ functions.
is called to get the exception information.
The second optional keyword argument is *stack_info*, which defaults to
- False. If specified as True, stack information is added to the logging
+ ``False``. If true, stack information is added to the logging
message, including the actual logging call. Note that this is not the same
stack information as that displayed through specifying *exc_info*: The
former is stack frames from the bottom of the stack up to the logging call