summaryrefslogtreecommitdiffstats
path: root/Lib/plat-sunos5/SUNAUDIODEV.py
diff options
context:
space:
mode:
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.