Remove .width() and .iswide() from UserString as well.

This commit is contained in:
Hye-Shik Chang 2004-08-04 08:01:06 +00:00
parent e9ddfbb412
commit 4189c643f8

View file

@ -126,10 +126,6 @@ def translate(self, *args):
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