commit | 92b44517cb8ef58ed02be9784bb329341589dd4d | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon May 03 18:04:07 1999 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon May 03 18:04:07 1999 +0000 |
tree | 59f30e6a500a5de782a5d8206caa863e6d377f43 | |
parent | 5c071fab8fac370b1e5bf8dccb2d99d0fad7f2df [diff] |
Clarify why there are dynamic imports in AudioDev(). This will enlighten Andrew Dalke; I don't know about kjpylint. :-)
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 @@ return BUFFERSIZE - self.getfilled() def AudioDev(): + # Dynamically try to import and use a platform specific module. try: import al except ImportError: