[Python-checkins] cpython (merge 3.3 -> default): Issue #16884: Merged doc fix from 3.3.

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


http://hg.python.org/cpython/rev/4617b7ac302a
changeset:   81321:4617b7ac302a
parent:      81317:51e60d9ee389
parent:      81320:b00c4a095b00
user:        Vinay Sajip <vinay_sajip at yahoo.co.uk>
date:        Tue Jan 08 11:27:18 2013 +0000
summary:
  Issue #16884: Merged doc fix from 3.3.

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
@@ -978,8 +978,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