Tools/unicode/mkstringprep.py: Don't use string exceptions, partial backport from r78982.
Tools/unicode/mkstringprep.py: Don't use string exceptions,
partial backport from r78982.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator