]> granicus.if.org Git - python/commitdiff
Remove FCNTL.py, following python-dev discussion
authorAndrew M. Kuchling <amk@amk.ca>
Sun, 18 Jul 2004 23:44:58 +0000 (23:44 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sun, 18 Jul 2004 23:44:58 +0000 (23:44 +0000)
Lib/FCNTL.py [deleted file]

diff --git a/Lib/FCNTL.py b/Lib/FCNTL.py
deleted file mode 100644 (file)
index a31a7f8..0000000
+++ /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"]