summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/macerrors.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-05-12 21:42:13 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-05-12 21:42:13 (GMT)
commit236819310db3fe6f2fb22d48b780fa6ec253b6c7 (patch)
treece5ca9792381d9ced99e8e871324891ddbeb0e28 /Lib/plat-mac/macerrors.py
parentf9b54c24114b15ff920249244fe361aee276c248 (diff)
downloadcpython-236819310db3fe6f2fb22d48b780fa6ec253b6c7.zip
cpython-236819310db3fe6f2fb22d48b780fa6ec253b6c7.tar.gz
cpython-236819310db3fe6f2fb22d48b780fa6ec253b6c7.tar.bz2
Add warnings to and deprecated all those Mac modules
Diffstat (limited to 'Lib/plat-mac/macerrors.py')
-rw-r--r--Lib/plat-mac/macerrors.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/plat-mac/macerrors.py b/Lib/plat-mac/macerrors.py
index a7b3fee..9629a0f 100644
--- a/Lib/plat-mac/macerrors.py
+++ b/Lib/plat-mac/macerrors.py
@@ -1,4 +1,8 @@
# -coding=latin1-
+
+from warnings import warnpy3k
+warnpy3k("In 3.x, the macerrors module is removed.")
+
svTempDisable = -32768 #svTempDisable
svDisabled = -32640 #Reserve range -32640 to -32768 for Apple temp disables.
fontNotOutlineErr = -32615 #bitmap font passed to routine that does outlines only