]> granicus.if.org Git - python/commitdiff
Issue #14676: DeprecationWarning is ignored too; patch by Peter Eisentraut
authorSandro Tosi <sandro.tosi@gmail.com>
Sat, 28 Apr 2012 10:20:57 +0000 (12:20 +0200)
committerSandro Tosi <sandro.tosi@gmail.com>
Sat, 28 Apr 2012 10:20:57 +0000 (12:20 +0200)
Doc/library/warnings.rst

index 6f3c1054f0bc04ca446c5d8dc447007e1da8bced..c74d902446240056e4f8791c6d6827786da4f2b5 100644 (file)
@@ -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