summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2013-01-08 11:27:18 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2013-01-08 11:27:18 (GMT)
commitf43c4d66bed0be1d0d7172ece317b7a836cbaa8f (patch)
tree58ec58adeff768e2556a2b0d2c8e1869cd4943f6 /Doc
parent1a03ac832dae04a4a8044f59a894c579fec4e439 (diff)
parent9a546530bb2c958c12c3724c9ac0318c3210206c (diff)
downloadcpython-f43c4d66bed0be1d0d7172ece317b7a836cbaa8f.zip
cpython-f43c4d66bed0be1d0d7172ece317b7a836cbaa8f.tar.gz
cpython-f43c4d66bed0be1d0d7172ece317b7a836cbaa8f.tar.bz2
Issue #16884: Merged doc fix from 3.3.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/howto/logging.rst8
-rw-r--r--Doc/library/logging.rst4
2 files changed, 6 insertions, 6 deletions
diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst
index 1e8b662..c2a13d9 100644
--- a/Doc/howto/logging.rst
+++ b/Doc/howto/logging.rst
@@ -970,10 +970,10 @@ The default implementation of :meth:`handleError` in :class:`Handler` checks
to see if a module-level variable, :data:`raiseExceptions`, is set. If set, a
traceback is printed to :data:`sys.stderr`. If not set, the exception is swallowed.
-**Note:** The default value of :data:`raiseExceptions` is ``True``. This is because
-during development, you typically want to be notified of any exceptions that
-occur. It's advised that you set :data:`raiseExceptions` to ``False`` for production
-usage.
+.. note:: The default value of :data:`raiseExceptions` is ``True``. This is
+ because during development, you typically want to be notified of any
+ exceptions that occur. It's advised that you set :data:`raiseExceptions` to
+ ``False`` for production usage.
.. currentmodule:: logging
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index 2a94e1a..c7ef311 100644
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -978,8 +978,8 @@ functions.
registered using this function, levels should be positive integers and they
should increase in increasing order of severity.
- NOTE: If you are thinking of defining your own levels, please see the section
- on :ref:`custom-levels`.
+ .. note:: If you are thinking of defining your own levels, please see the
+ section on :ref:`custom-levels`.
.. function:: getLevelName(lvl)