diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2004-07-18 23:44:58 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2004-07-18 23:44:58 (GMT) |
commit | 9516609b6b1dec51195d1f3f9002f2dad2038e12 (patch) | |
tree | b3e7f7da9c1d0f23694529888a6610a2e3578cae /Lib | |
parent | beb7c0c434cf108fe903e80c070ed1a5aa7b14c2 (diff) | |
download | cpython-9516609b6b1dec51195d1f3f9002f2dad2038e12.zip cpython-9516609b6b1dec51195d1f3f9002f2dad2038e12.tar.gz cpython-9516609b6b1dec51195d1f3f9002f2dad2038e12.tar.bz2 |
Remove FCNTL.py, following python-dev discussion
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/FCNTL.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Lib/FCNTL.py b/Lib/FCNTL.py deleted file mode 100644 index a31a7f8..0000000 --- a/Lib/FCNTL.py +++ /dev/null @@ -1,14 +0,0 @@ -"""Backward-compatibility version of FCNTL; export constants exported by -fcntl, and issue a deprecation warning. -""" - -import warnings -warnings.warn("the FCNTL module is deprecated; please use fcntl", - DeprecationWarning) - - -# Export the constants known to the fcntl module: -from fcntl import * - -# and *only* the constants: -__all__ = [s for s in dir() if s[0] in "ABCDEFGHIJKLMNOPQRSTUVWXYZ"] |