From: Andrew M. Kuchling Date: Sun, 18 Jul 2004 23:44:58 +0000 (+0000) Subject: Remove FCNTL.py, following python-dev discussion X-Git-Tag: v2.4a2~196 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9516609b6b1dec51195d1f3f9002f2dad2038e12;p=thirdparty%2FPython%2Fcpython.git Remove FCNTL.py, following python-dev discussion --- diff --git a/Lib/FCNTL.py b/Lib/FCNTL.py deleted file mode 100644 index a31a7f8e989b..000000000000 --- 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"]