mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +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
|
|
@ -2,7 +2,8 @@
|
|||
|
||||
MAGIC = '.snd'
|
||||
|
||||
error = 'sunaudio sound header conversion error'
|
||||
class error(Exception):
|
||||
pass
|
||||
|
||||
|
||||
def get_long_be(s):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue