class ErrorString(SafeString):
Method | __str__ |
Undocumented |
Method | __unicode__ |
Return unicode representation of self.data . |
Inherited from SafeString
:
Method | __init__ |
Undocumented |
Instance Variable | data |
Undocumented |
Instance Variable | decoding​_errors |
Undocumented |
Instance Variable | encoding |
Undocumented |
Instance Variable | encoding​_errors |
Undocumented |
Return unicode representation of self.data
.
Try unicode(self.data), catch UnicodeError
and
self.data
is an Exception instance, work around
http://bugs.python.org/issue2517 with an emulation of
Exception.__unicode__,self.encoding
and self.decoding_errors
.