diff options
author | Éric Araujo <merwok@netwok.org> | 2012-02-26 01:13:30 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2012-02-26 01:13:30 (GMT) |
commit | a6091998afc5bb7940315ef7b105e1703f64a375 (patch) | |
tree | 16fe1ee3033a93575c43127967780db1f38cda21 | |
parent | e7295a76357aea6cc479f62b0aa1e93543e2aa53 (diff) | |
download | cpython-a6091998afc5bb7940315ef7b105e1703f64a375.zip cpython-a6091998afc5bb7940315ef7b105e1703f64a375.tar.gz cpython-a6091998afc5bb7940315ef7b105e1703f64a375.tar.bz2 |
Use const markup instead of a misleading string literal
-rw-r--r-- | Doc/library/logging.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index c429c85..26fa97e 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -1077,7 +1077,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 |