changeset: 76594:0ad724738f6a branch: 2.7 parent: 76591:1e5a483248ce user: Sandro Tosi date: Sat Apr 28 12:20:57 2012 +0200 files: Doc/library/warnings.rst description: Issue #14676: DeprecationWarning is ignored too; patch by Peter Eisentraut diff -r 1e5a483248ce -r 0ad724738f6a Doc/library/warnings.rst --- a/Doc/library/warnings.rst Sat Apr 28 11:19:11 2012 +0200 +++ b/Doc/library/warnings.rst Sat Apr 28 12:20:57 2012 +0200 @@ -167,7 +167,8 @@ 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

AltStyle によって変換されたページ (->オリジナル) /