mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Remove TERMIOS module
This commit is contained in:
parent
a46fd8480f
commit
f3f1c85858
1 changed files with 0 additions and 14 deletions
|
|
@ -1,14 +0,0 @@
|
|||
"""Backward-compatibility version of TERMIOS; export constants exported by
|
||||
termios, and issue a deprecation warning.
|
||||
"""
|
||||
|
||||
import warnings
|
||||
warnings.warn("the TERMIOS module is deprecated; please use termios",
|
||||
DeprecationWarning)
|
||||
|
||||
|
||||
# Export the constants known to the termios module:
|
||||
from termios import *
|
||||
|
||||
# and *only* the constants:
|
||||
__all__ = [s for s in dir() if s[0] in "ABCDEFGHIJKLMNOPQRSTUVWXYZ"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue