Staging
v0.8.1
v0.8.1
Revision 1fa649f2d5d4a63105577888830276a6dc4771b5 authored by Martin v. Löwis on 03 August 2004, 18:45:31 UTC, committed by Martin v. Löwis on 03 August 2004, 18:45:31 UTC
1 parent 9441c07
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 ...