summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-05-03 18:04:07 (GMT)
committerGuido van Rossum <guido@python.org>1999-05-03 18:04:07 (GMT)
commit92b44517cb8ef58ed02be9784bb329341589dd4d (patch)
tree59f30e6a500a5de782a5d8206caa863e6d377f43
parent5c071fab8fac370b1e5bf8dccb2d99d0fad7f2df (diff)
downloadcpython-92b44517cb8ef58ed02be9784bb329341589dd4d.zip
cpython-92b44517cb8ef58ed02be9784bb329341589dd4d.tar.gz
cpython-92b44517cb8ef58ed02be9784bb329341589dd4d.tar.bz2
Clarify why there are dynamic imports in AudioDev().
This will enlighten Andrew Dalke; I don't know about kjpylint. :-)
-rw-r--r--Lib/audiodev.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/audiodev.py b/Lib/audiodev.py
index c76a502..83bd6ef 100644
--- a/Lib/audiodev.py
+++ b/Lib/audiodev.py
@@ -209,6 +209,7 @@ class Play_Audio_sun:
return BUFFERSIZE - self.getfilled()
def AudioDev():
+ # Dynamically try to import and use a platform specific module.
try:
import al
except ImportError: