Marc-Andre Lemburg: Add UnicodeError, derived from ValueError.

This commit is contained in:
Guido van Rossum 2000-03-10 23:16:02 +00:00
parent 9ed0d1ef18
commit 21288edad0
1 changed files with 7 additions and 0 deletions

View File

@ -61,6 +61,9 @@ Exception(*)
| +-- FloatingPointError
|
+-- ValueError
| |
| +-- UnicodeError(*)
|
+-- SystemError
+-- MemoryError
"""
@ -224,6 +227,10 @@ class UnboundLocalError(NameError):
"""Local name referenced but not bound to a value."""
pass
class UnicodeError(ValueError):
"""Unicode related error."""
pass
class MemoryError(StandardError):
"""Out of memory."""
pass