Staging
v0.8.1
v0.8.1
Revision cf8b1ea851b90d45cdbd72d125e496d11eb7a92b authored by Fred Drake on 27 August 2002, 16:42:37 UTC, committed by Fred Drake on 27 August 2002, 16:42:37 UTC
Closes SF patch #600861.
1 parent 1c7f511
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 ...