blob: a31a7f8e989bbad9207fcd4595bcae7d71af7ce0 [file] [log] [blame]
Fred Drake76d61392001-05-09 21:13:23 +00001"""Backward-compatibility version of FCNTL; export constants exported by
2fcntl, and issue a deprecation warning.
3"""
4
5import warnings
6warnings.warn("the FCNTL module is deprecated; please use fcntl",
7 DeprecationWarning)
8
9
10# Export the constants known to the fcntl module:
11from fcntl import *
12
13# and *only* the constants:
14__all__ = [s for s in dir() if s[0] in "ABCDEFGHIJKLMNOPQRSTUVWXYZ"]