summaryrefslogtreecommitdiffstats
path: root/Lib/plat-irix5
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-14 20:31:38 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-14 20:31:38 (GMT)
commitddf949f19432ef22b7b42a7054412f83985ff77f (patch)
tree85de65116c63a2292e3c93984ed7e1a38e1bbab1 /Lib/plat-irix5
parent0b6b5236ff47cc5cd87eae52d8a881a91e73e902 (diff)
downloadcpython-ddf949f19432ef22b7b42a7054412f83985ff77f.zip
cpython-ddf949f19432ef22b7b42a7054412f83985ff77f.tar.gz
cpython-ddf949f19432ef22b7b42a7054412f83985ff77f.tar.bz2
The CD and cd modules for IRIX are deprecated for 3.0.
Diffstat (limited to 'Lib/plat-irix5')
-rwxr-xr-xLib/plat-irix5/CD.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/plat-irix5/CD.py b/Lib/plat-irix5/CD.py
index 8c1e03b..5398f46 100755
--- a/Lib/plat-irix5/CD.py
+++ b/Lib/plat-irix5/CD.py
@@ -1,3 +1,7 @@
+from warnings import warnpy3k
+warnpy3k("the CD module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
+
ERROR = 0
NODISC = 1
READY = 2