commit | 227b1204681a8bd7077bf1f8e9098b7e2e9f4c13 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Thu Aug 17 05:06:49 2000 +0000 |
committer | Fred Drake <fdrake@acm.org> | Thu Aug 17 05:06:49 2000 +0000 |
tree | 25e36d9096e5ddcde4a12065b5d38d4dd9beed56 | |
parent | 9b8d801c37fa29420848ebc1b50c601893b36287 [diff] [blame] |
Convert some old-style string exceptions to class exceptions.
diff --git a/Lib/audiodev.py b/Lib/audiodev.py index e7cff6c..9d4ddc2 100644 --- a/Lib/audiodev.py +++ b/Lib/audiodev.py
@@ -1,6 +1,7 @@ """Classes for manipulating audio devices (currently only for Sun and SGI)""" -error = 'audiodev.error' +class error(Exception): + pass class Play_Audio_sgi: # Private instance variables