]> granicus.if.org Git - python/commitdiff
No need to call filterwarnings() to suppress further warnings from this
authorFred Drake <fdrake@acm.org>
Tue, 27 Feb 2001 21:51:47 +0000 (21:51 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 27 Feb 2001 21:51:47 +0000 (21:51 +0000)
module; that won't happen.

Lib/TERMIOS.py

index 0b96e554b3cc091d49c8f4fc055dac320dfd98c8..66795fc48391e0651f656343db63f9149a0c27bc 100644 (file)
@@ -6,9 +6,6 @@ import warnings
 warnings.warn("the TERMIOS module is deprecated; please use termios",
               DeprecationWarning)
 
-# Ignore further deprecation warnings about this module
-warnings.filterwarnings("ignore", "", DeprecationWarning, __name__)
-
 
 # Export the constants known to the termios module:
 from termios import *