Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f43c4d6

Browse files
committed
Issue #16884: Merged doc fix from 3.3.
2 parents 1a03ac8 + 9a54653 commit f43c4d6

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/howto/logging.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -970,10 +970,10 @@ The default implementation of :meth:`handleError` in :class:`Handler` checks
970970
to see if a module-level variable, :data:`raiseExceptions`, is set. If set, a
971971
traceback is printed to :data:`sys.stderr`. If not set, the exception is swallowed.
972972

973-
**Note:** The default value of :data:`raiseExceptions` is ``True``. This is because
974-
during development, you typically want to be notified of any exceptions that
975-
occur. It's advised that you set :data:`raiseExceptions` to ``False`` for production
976-
usage.
973+
.. note:: The default value of :data:`raiseExceptions` is ``True``. This is
974+
because during development, you typically want to be notified of any
975+
exceptions that occur. It's advised that you set :data:`raiseExceptions` to
976+
``False`` for production usage.
977977

978978
.. currentmodule:: logging
979979

Doc/library/logging.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -978,8 +978,8 @@ functions.
978978
registered using this function, levels should be positive integers and they
979979
should increase in increasing order of severity.
980980

981-
NOTE: If you are thinking of defining your own levels, please see the section
982-
on :ref:`custom-levels`.
981+
.. note:: If you are thinking of defining your own levels, please see the
982+
section on :ref:`custom-levels`.
983983

984984
.. function:: getLevelName(lvl)
985985

0 commit comments

Comments
 (0)