summaryrefslogtreecommitdiffstats
path: root/Lib/plat-irix5
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-15 04:15:25 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-15 04:15:25 (GMT)
commitf56b6aeb06b220ed78b951e7b5cec128db15444a (patch)
treec7faba6584ac30eadb1f3977e358945aa9b7e1e5 /Lib/plat-irix5
parent518c5da219ece87e0ad30af1fb110db0f1dc5dfd (diff)
downloadcpython-f56b6aeb06b220ed78b951e7b5cec128db15444a.zip
cpython-f56b6aeb06b220ed78b951e7b5cec128db15444a.tar.gz
cpython-f56b6aeb06b220ed78b951e7b5cec128db15444a.tar.bz2
Deprecated torgb for removal in 3.0.
Diffstat (limited to 'Lib/plat-irix5')
-rwxr-xr-xLib/plat-irix5/torgb.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/plat-irix5/torgb.py b/Lib/plat-irix5/torgb.py
index 54c86c4..024d1ea 100755
--- a/Lib/plat-irix5/torgb.py
+++ b/Lib/plat-irix5/torgb.py
@@ -5,6 +5,9 @@
# Returned filename is either the input filename or a temporary filename;
# in the latter case the caller must ensure that it is removed.
# Other temporary files used are removed by the function.
+from warnings import warnpy3k
+warnpy3k("the torgb module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
import os
import tempfile