Kaydet (Commit) 21288eda authored tarafından Guido van Rossum's avatar Guido van Rossum

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

üst 9ed0d1ef
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment