Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5dd09bb

Browse files
committed
No need to call filterwarnings() to suppress further warnings from this
module; that won't happen.
1 parent ddd802c commit 5dd09bb

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Lib/TERMIOS.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
warnings.warn("the TERMIOS module is deprecated; please use termios",
77
DeprecationWarning)
88

9-
# Ignore further deprecation warnings about this module
10-
warnings.filterwarnings("ignore", "", DeprecationWarning, __name__)
11-
129

1310
# Export the constants known to the termios module:
1411
from termios import *

0 commit comments

Comments
 (0)