]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #16884: Updated docs to use 'note' directives in a couple of places missed...
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 8 Jan 2013 11:25:42 +0000 (11:25 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 8 Jan 2013 11:25:42 +0000 (11:25 +0000)
Doc/howto/logging.rst
Doc/library/logging.rst

index 1e8b662db40d40fab15dc675dc31b8fd0cf3918b..c2a13d9720e93fa5b0be9781eb5db300aa907beb 100644 (file)
@@ -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
 
index 7a9db728fb475c888217f9728862ed5bf401c968..2e641467560b1b250cc64c063bcfa4c623522975 100644 (file)
@@ -958,8 +958,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)