]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Clarify why there are dynamic imports in AudioDev().
authorGuido van Rossum <guido@python.org>
Mon, 3 May 1999 18:04:07 +0000 (18:04 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 3 May 1999 18:04:07 +0000 (18:04 +0000)
This will enlighten Andrew Dalke; I don't know about kjpylint. :-)

Lib/audiodev.py

index c76a5022d8b3b08f6bde96724dfda5a53f9267ea..83bd6ef6705b8e222c8ddd0f156f8d65daa2e78c 100644 (file)
@@ -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: