|
|
@@ -108,6 +108,9 @@ class StringMixIn(object): |
|
|
|
return str(item) in self.__unicode__() |
|
|
|
|
|
|
|
def __getattr__(self, attr): |
|
|
|
if not hasattr(str, attr): |
|
|
|
raise AttributeError("{0!r} object has no attribute {1!r}".format( |
|
|
|
type(self).__name__, attr)) |
|
|
|
return getattr(self.__unicode__(), attr) |
|
|
|
|
|
|
|
if py3k: |
|
|
|