Staging
v0.8.1
v0.8.1
Revision 12cb99b33ffca180ec8ea2efcad0289d3cf11eca authored by Jack Jansen on 22 July 2003, 14:31:34 UTC, committed by Jack Jansen on 22 July 2003, 14:31:34 UTC
1 parent f753816
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 ...