summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2012-02-26 03:07:37 (GMT)
committerÉric Araujo <merwok@netwok.org>2012-02-26 03:07:37 (GMT)
commit408026c7e8c019cf04372a4267c832241e18c62c (patch)
tree4fcb98a84a03a0234306d716c45af02d9b38788e /Doc
parentdfac6cc3e9df2a7352aaad3bb36390f850fc8ee6 (diff)
parentf527277b678b263b9d2f5ab52fb804fd1f62cde3 (diff)
downloadcpython-408026c7e8c019cf04372a4267c832241e18c62c.zip
cpython-408026c7e8c019cf04372a4267c832241e18c62c.tar.gz
cpython-408026c7e8c019cf04372a4267c832241e18c62c.tar.bz2
Merge 3.2
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/logging.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index 206b5f6..0979278 100644
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -1112,7 +1112,7 @@ with the :mod:`warnings` module.
If *capture* is ``True``, warnings issued by the :mod:`warnings` module will
be redirected to the logging system. Specifically, a warning will be
formatted using :func:`warnings.formatwarning` and the resulting string
- logged to a logger named ``'py.warnings'`` with a severity of ``'WARNING'``.
+ logged to a logger named ``'py.warnings'`` with a severity of :const:`WARNING`.
If *capture* is ``False``, the redirection of warnings to the logging system
will stop, and warnings will be redirected to their original destinations