mirror of
https://github.com/python/cpython.git
synced 2025-11-03 19:34:08 +00:00
No need to call filterwarnings() to suppress further warnings from this
module; that won't happen.
This commit is contained in:
parent
ddd802cbd7
commit
5dd09bb5df
1 changed files with 0 additions and 3 deletions
|
|
@ -6,9 +6,6 @@ import warnings
|
||||||
warnings.warn("the TERMIOS module is deprecated; please use termios",
|
warnings.warn("the TERMIOS module is deprecated; please use termios",
|
||||||
DeprecationWarning)
|
DeprecationWarning)
|
||||||
|
|
||||||
# Ignore further deprecation warnings about this module
|
|
||||||
warnings.filterwarnings("ignore", "", DeprecationWarning, __name__)
|
|
||||||
|
|
||||||
|
|
||||||
# Export the constants known to the termios module:
|
# Export the constants known to the termios module:
|
||||||
from termios import *
|
from termios import *
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue