summaryrefslogtreecommitdiffstats
path: root/Lib/plat-irix5
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-15 03:29:18 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-15 03:29:18 (GMT)
commit707e384a7a42a90fd39754e89638ddadef722030 (patch)
tree71a6d0f01de88802b5370dabfa3d1d90a3ee01f4 /Lib/plat-irix5
parent82bd94e6510aed32d022267a56f398f926eb0907 (diff)
downloadcpython-707e384a7a42a90fd39754e89638ddadef722030.zip
cpython-707e384a7a42a90fd39754e89638ddadef722030.tar.gz
cpython-707e384a7a42a90fd39754e89638ddadef722030.tar.bz2
Deprecate GLWS from IRIX for removal in 3.0.
Diffstat (limited to 'Lib/plat-irix5')
-rwxr-xr-xLib/plat-irix5/GLWS.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/plat-irix5/GLWS.py b/Lib/plat-irix5/GLWS.py
index 69dab71..c1338c7 100755
--- a/Lib/plat-irix5/GLWS.py
+++ b/Lib/plat-irix5/GLWS.py
@@ -1,3 +1,7 @@
+from warnings import warnpy3k
+warnpy3k("the GLWS module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
+
NOERROR = 0
NOCONTEXT = -1
NODISPLAY = -2