summaryrefslogtreecommitdiffstats
path: root/Lib/aifc.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-08-17 05:06:49 (GMT)
committerFred Drake <fdrake@acm.org>2000-08-17 05:06:49 (GMT)
commit227b1204681a8bd7077bf1f8e9098b7e2e9f4c13 (patch)
tree25e36d9096e5ddcde4a12065b5d38d4dd9beed56 /Lib/aifc.py
parent9b8d801c37fa29420848ebc1b50c601893b36287 (diff)
downloadcpython-227b1204681a8bd7077bf1f8e9098b7e2e9f4c13.zip
cpython-227b1204681a8bd7077bf1f8e9098b7e2e9f4c13.tar.gz
cpython-227b1204681a8bd7077bf1f8e9098b7e2e9f4c13.tar.bz2
Convert some old-style string exceptions to class exceptions.
Diffstat (limited to 'Lib/aifc.py')
-rw-r--r--Lib/aifc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/aifc.py b/Lib/aifc.py
index e00b23f..f709d88 100644
--- a/Lib/aifc.py
+++ b/Lib/aifc.py
@@ -137,7 +137,8 @@ writeframesraw.
import struct
import __builtin__
-Error = 'aifc.Error'
+class Error(Exception):
+ pass
_AIFC_version = 0xA2805140 # Version 1 of AIFF-C