summaryrefslogtreecommitdiffstats
path: root/Lib/plat-irix5
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-15 03:51:21 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-15 03:51:21 (GMT)
commitcd2de082571042f0cf95e06f66c4cc727e82b541 (patch)
treee6d6ce630048aa4d3c5743998d37ee769435499b /Lib/plat-irix5
parent11ae6e7151fb6c6364f53f28337dd4579c5de0ee (diff)
downloadcpython-cd2de082571042f0cf95e06f66c4cc727e82b541.zip
cpython-cd2de082571042f0cf95e06f66c4cc727e82b541.tar.gz
cpython-cd2de082571042f0cf95e06f66c4cc727e82b541.tar.bz2
Deprecate readcd for removal in 3.0.
Diffstat (limited to 'Lib/plat-irix5')
-rwxr-xr-xLib/plat-irix5/readcd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/plat-irix5/readcd.py b/Lib/plat-irix5/readcd.py
index 5453ce4..54549e7 100755
--- a/Lib/plat-irix5/readcd.py
+++ b/Lib/plat-irix5/readcd.py
@@ -1,4 +1,7 @@
# Class interface to the CD module.
+from warnings import warnpy3k
+warnpy3k("the readcd module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
import cd, CD