Staging
v0.5.1
swh:1:snp:635f4099902912592851108bcac178ff574f7c5f
Raw File
Tip revision: 2fb17ba2fa19d15d2c422ef7c2b45dca4f4de140 authored by cvs2svn on 16 April 2001, 18:46:45 UTC
This commit was manufactured by cvs2svn to create tag 'release21'.
Tip revision: 2fb17ba
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"]
back to top