diff options
author | Fred Drake <fdrake@acm.org> | 2000-08-17 04:45:13 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-08-17 04:45:13 (GMT) |
commit | 9b8d801c37fa29420848ebc1b50c601893b36287 (patch) | |
tree | 3e21590bf1bc994dc998ae3c7cadffd1e567ad61 /Lib/sunaudio.py | |
parent | de9fec5f99179bfd023177b89238f8aaae98f1f9 (diff) | |
download | cpython-9b8d801c37fa29420848ebc1b50c601893b36287.zip cpython-9b8d801c37fa29420848ebc1b50c601893b36287.tar.gz cpython-9b8d801c37fa29420848ebc1b50c601893b36287.tar.bz2 |
Convert some old-style string exceptions to class exceptions.
Diffstat (limited to 'Lib/sunaudio.py')
-rw-r--r-- | Lib/sunaudio.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/sunaudio.py b/Lib/sunaudio.py index b7df71c..cbd17d2 100644 --- a/Lib/sunaudio.py +++ b/Lib/sunaudio.py @@ -2,7 +2,8 @@ MAGIC = '.snd' -error = 'sunaudio sound header conversion error' +class error(Exception): + pass def get_long_be(s): |