summaryrefslogtreecommitdiff
path: root/Lib/plat-mac/icopen.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/plat-mac/icopen.py')
-rw-r--r--Lib/plat-mac/icopen.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/plat-mac/icopen.py b/Lib/plat-mac/icopen.py
index eea6083797..7b8e8f372e 100644
--- a/Lib/plat-mac/icopen.py
+++ b/Lib/plat-mac/icopen.py
@@ -37,6 +37,9 @@ The next time you launch PythonInterpreter or Python IDE, the patch will take
effect.
"""
+from warnings import warnpy3k
+warnpy3k("In 3.x, the icopen module is removed.")
+
import __builtin__
_builtin_open = globals().get('_builtin_open', __builtin__.open)