summaryrefslogtreecommitdiff
path: root/Lib/plat-irix6/FILE.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/plat-irix6/FILE.py')
-rw-r--r--Lib/plat-irix6/FILE.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/plat-irix6/FILE.py b/Lib/plat-irix6/FILE.py
index ab74d7c679..3376c7103e 100644
--- a/Lib/plat-irix6/FILE.py
+++ b/Lib/plat-irix6/FILE.py
@@ -1,4 +1,7 @@
# Generated by h2py from /usr/include/sys/file.h
+from warnings import warnpy3k
+warnpy3k("the FILE module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
# Included from standards.h