From: Hye-Shik Chang Date: Wed, 4 Aug 2004 08:01:06 +0000 (+0000) Subject: Remove .width() and .iswide() from UserString as well. X-Git-Tag: v2.4a2~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4189c643f8a631ec309ecf9cde79cf0ff2824a26;p=python Remove .width() and .iswide() from UserString as well. --- diff --git a/Lib/UserString.py b/Lib/UserString.py index 1f1e87c499..e8e0fedd87 100755 --- a/Lib/UserString.py +++ b/Lib/UserString.py @@ -126,10 +126,6 @@ class UserString: def upper(self): return self.__class__(self.data.upper()) def zfill(self, width): return self.__class__(self.data.zfill(width)) - # the following methods are defined for unicode objects only: - def iswide(self): return self.data.iswide() # unicode only - def width(self): return self.data.width() # unicode only - class MutableString(UserString): """mutable string objects