mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Convert some old-style string exceptions to class exceptions.
This commit is contained in:
parent
de9fec5f99
commit
9b8d801c37
6 changed files with 14 additions and 6 deletions
|
@ -73,7 +73,8 @@ is destroyed.
|
|||
|
||||
import __builtin__
|
||||
|
||||
Error = 'wave.Error'
|
||||
class Error(Exception):
|
||||
pass
|
||||
|
||||
WAVE_FORMAT_PCM = 0x0001
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue