mirror of
https://github.com/python/cpython.git
synced 2025-09-18 06:30:38 +00:00
Subclass exception
This commit is contained in:
parent
dda0ce7285
commit
c997f178ed
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,8 @@
|
|||
|
||||
import sys; rprt = sys.stderr.write #for debugging
|
||||
|
||||
error = 'bitvec.error'
|
||||
class error(Exception):
|
||||
pass
|
||||
|
||||
|
||||
def _check_value(value):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue