diff options
Diffstat (limited to 'modules/language/python/exceptions.scm')
-rw-r--r-- | modules/language/python/exceptions.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/language/python/exceptions.scm b/modules/language/python/exceptions.scm index bb2c739..915c9ef 100644 --- a/modules/language/python/exceptions.scm +++ b/modules/language/python/exceptions.scm @@ -14,7 +14,8 @@ OverflowError RecursionError Warning DeprecationWarning BytesWarning UnicodeDecodeError LookupError IndentationError - KeyboardInterrupt MemoryError NameError)) + KeyboardInterrupt MemoryError NameError + EOFError UnicodeError)) (define-syntax-rule (aif it p x y) (let ((it p)) (if it x y))) @@ -67,6 +68,8 @@ (define StopIteration 'StopIteration) (define GeneratorExit 'GeneratorExit) +(define-er UnicodeError 'UnicodeError) +(define-er EOFError 'EOFError) (define-er MemoryError 'MemoryError) (define-er NameError 'NameError) (define-er UnicodeDecodeError 'UnicodeDecodeError) |