Re-commit Ping's patch to the cgi and cgitb documentation, using the
[python/dscho.git] / Lib / TERMIOS.py
blob66795fc48391e0651f656343db63f9149a0c27bc
1 """Backward-compatibility version of TERMIOS; export constants exported by
2 termios, and issue a deprecation warning.
3 """
5 import warnings
6 warnings.warn("the TERMIOS module is deprecated; please use termios",
7 DeprecationWarning)
10 # Export the constants known to the termios module:
11 from termios import *
13 # and *only* the constants:
14 __all__ = [s for s in dir() if s[0] in "ABCDEFGHIJKLMNOPQRSTUVWXYZ"]