From: Guido van Rossum Date: Mon, 3 May 1999 18:04:07 +0000 (+0000) Subject: Clarify why there are dynamic imports in AudioDev(). X-Git-Tag: v1.6a1~1388 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=92b44517cb8ef58ed02be9784bb329341589dd4d;p=thirdparty%2FPython%2Fcpython.git 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 c76a5022d8b3..83bd6ef6705b 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: