summaryrefslogtreecommitdiff
path: root/Lib/wave.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-08-17 04:45:13 +0000
committerFred Drake <fdrake@acm.org>2000-08-17 04:45:13 +0000
commit9b8d801c37fa29420848ebc1b50c601893b36287 (patch)
tree3e21590bf1bc994dc998ae3c7cadffd1e567ad61 /Lib/wave.py
parentde9fec5f99179bfd023177b89238f8aaae98f1f9 (diff)
downloadcpython-git-9b8d801c37fa29420848ebc1b50c601893b36287.tar.gz
Convert some old-style string exceptions to class exceptions.
Diffstat (limited to 'Lib/wave.py')
-rw-r--r--Lib/wave.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/wave.py b/Lib/wave.py
index 60c0b98319..c8cf997eca 100644
--- a/Lib/wave.py
+++ b/Lib/wave.py
@@ -73,7 +73,8 @@ is destroyed.
import __builtin__
-Error = 'wave.Error'
+class Error(Exception):
+ pass
WAVE_FORMAT_PCM = 0x0001