mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Remove FCNTL.py, following python-dev discussion
This commit is contained in:
parent
beb7c0c434
commit
9516609b6b
1 changed files with 0 additions and 14 deletions
14
Lib/FCNTL.py
14
Lib/FCNTL.py
|
@ -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"]
|
Loading…
Add table
Add a link
Reference in a new issue