diff --git a/Lib/exceptions.py b/Lib/exceptions.py index b785a7c725f..43d1c2da40f 100644 --- a/Lib/exceptions.py +++ b/Lib/exceptions.py @@ -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