blob: 66795fc48391e0651f656343db63f9149a0c27bc [file] [log] [blame]
Fred Drakeddd802c2001-02-27 21:35:40 +00001"""Backward-compatibility version of TERMIOS; export constants exported by
2termios, and issue a deprecation warning.
3"""
4
5import warnings
6warnings.warn("the TERMIOS module is deprecated; please use termios",
7 DeprecationWarning)
8
Fred Drakeddd802c2001-02-27 21:35:40 +00009
10# Export the constants known to the termios module:
11from termios import *
12
13# and *only* the constants:
14__all__ = [s for s in dir() if s[0] in "ABCDEFGHIJKLMNOPQRSTUVWXYZ"]