Staging
v0.8.1
v0.8.1
Revision 59874c0197d3eeeda9abb170dbd86a42faa002fb authored by cvs2svn on 19 December 2003, 02:06:06 UTC, committed by cvs2svn on 19 December 2003, 02:06:06 UTC
1 parent 2cd76c7
TERMIOS.py
"""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"]
Computing file changes ...