summaryrefslogtreecommitdiffstats
path: root/Lib/plat-sunos5/SUNAUDIODEV.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-16 00:10:24 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-16 00:10:24 (GMT)
commit2224817cdf2dd1bfd3efd8a0498f0c996fbc133e (patch)
tree755216525dd7ba3befa1557ca8107ebf0729420a /Lib/plat-sunos5/SUNAUDIODEV.py
parent7b5151c1f69f164d38c5f4719f20f9723a9585e4 (diff)
downloadcpython-2224817cdf2dd1bfd3efd8a0498f0c996fbc133e.zip
cpython-2224817cdf2dd1bfd3efd8a0498f0c996fbc133e.tar.gz
cpython-2224817cdf2dd1bfd3efd8a0498f0c996fbc133e.tar.bz2
Deprecate sunaudiodev/SUNAUDIODEV for removal in 3.0.
Diffstat (limited to 'Lib/plat-sunos5/SUNAUDIODEV.py')
-rwxr-xr-xLib/plat-sunos5/SUNAUDIODEV.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/plat-sunos5/SUNAUDIODEV.py b/Lib/plat-sunos5/SUNAUDIODEV.py
index 632139f..25599bb 100755
--- a/Lib/plat-sunos5/SUNAUDIODEV.py
+++ b/Lib/plat-sunos5/SUNAUDIODEV.py
@@ -1,6 +1,9 @@
# Symbolic constants for use with sunaudiodev module
# The names are the same as in audioio.h with the leading AUDIO_
# removed.
+from warnings import warnpy3k
+warnpy3k("the SUNAUDIODEV module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
# Not all values are supported on all releases of SunOS.