summaryrefslogtreecommitdiffstats
path: root/Lib/plat-irix5
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-15 03:46:27 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-15 03:46:27 (GMT)
commit7e37586c50d67805b02475b656f5ad083d4bc168 (patch)
treefc469668b62519964d9dd04b0f5be1d28dbff936 /Lib/plat-irix5
parent89f5d9cc81f0963f4ae72cc5db6ad73bdce04305 (diff)
downloadcpython-7e37586c50d67805b02475b656f5ad083d4bc168.zip
cpython-7e37586c50d67805b02475b656f5ad083d4bc168.tar.gz
cpython-7e37586c50d67805b02475b656f5ad083d4bc168.tar.bz2
The panel module for IRIX has been deprecated for removal in 3.0.
Diffstat (limited to 'Lib/plat-irix5')
-rwxr-xr-xLib/plat-irix5/panel.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/plat-irix5/panel.py b/Lib/plat-irix5/panel.py
index 12e62a5..fcfa56b 100755
--- a/Lib/plat-irix5/panel.py
+++ b/Lib/plat-irix5/panel.py
@@ -6,6 +6,9 @@
# most 'pnl' functions are transparently exported by 'panel',
# but dopanel() is overridden and you have to use this version
# if you want to use callbacks.
+from warnings import warnpy3k
+warnpy3k("the panel module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
import pnl