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

Skip to content

Commit 21b3082

Browse files
committed
Issue #16884: Updated docs to use 'note' directives in a couple of places missed earlier.
1 parent 4ab23bf commit 21b3082

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
@@ -958,8 +958,8 @@ functions.
958958
registered using this function, levels should be positive integers and they
959959
should increase in increasing order of severity.
960960

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

964964
.. function:: getLevelName(lvl)
965965

0 commit comments

Comments
 (0)