[Python-checkins] cpython (3.2): Issue #16884: Updated docs to use 'note' directives in a couple of places

vinay.sajip python-checkins at python.org
Tue Jan 8 12:27:31 CET 2013


http://hg.python.org/cpython/rev/50af862d0625
changeset:   81319:50af862d0625
branch:      3.2
parent:      81315:9458a516f769
user:        Vinay Sajip <vinay_sajip at yahoo.co.uk>
date:        Tue Jan 08 11:25:42 2013 +0000
summary:
  Issue #16884: Updated docs to use 'note' directives in a couple of places missed earlier.

files:
  Doc/howto/logging.rst   |  8 ++++----
  Doc/library/logging.rst |  4 ++--
  2 files changed, 6 insertions(+), 6 deletions(-)


diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst
--- a/Doc/howto/logging.rst
+++ b/Doc/howto/logging.rst
@@ -970,10 +970,10 @@
 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
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -958,8 +958,8 @@
    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)
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list