Issue #16884: Updated docs to use 'note' directives in a couple of places missed earlier.

This commit is contained in:
Vinay Sajip 2013-01-08 11:25:42 +00:00
parent 4ab23bfbeb
commit 21b30827bc
2 changed files with 6 additions and 6 deletions

View 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

View 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)