summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2012-04-28 12:20:57 +0200
committerSandro Tosi <sandro.tosi@gmail.com>2012-04-28 12:20:57 +0200
commit2d0bcd7ca924a8a8866cbcd70ef5a56068a82d39 (patch)
treef3a49e7be4a3d95a66851a0e11cd2fadd1232e9c
parentaa31d52b807dbcaae6fa3c329dbc9444344fc21e (diff)
downloadcpython-git-2d0bcd7ca924a8a8866cbcd70ef5a56068a82d39.tar.gz
Issue #14676: DeprecationWarning is ignored too; patch by Peter Eisentraut
-rw-r--r--Doc/library/warnings.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst
index 6f3c1054f0..c74d902446 100644
--- a/Doc/library/warnings.rst
+++ b/Doc/library/warnings.rst
@@ -167,7 +167,8 @@ By default, Python installs several warning filters, which can be overridden by
the command-line options passed to :option:`-W` and calls to
:func:`filterwarnings`.
-* :exc:`PendingDeprecationWarning`, and :exc:`ImportWarning` are ignored.
+* :exc:`DeprecationWarning` and :exc:`PendingDeprecationWarning`, and
+ :exc:`ImportWarning` are ignored.
* :exc:`BytesWarning` is ignored unless the :option:`-b` option is given once or
twice; in this case this warning is either printed (``-b``) or turned into an