]> granicus.if.org Git - python/commitdiff
Remove .width() and .iswide() from UserString as well.
authorHye-Shik Chang <hyeshik@gmail.com>
Wed, 4 Aug 2004 08:01:06 +0000 (08:01 +0000)
committerHye-Shik Chang <hyeshik@gmail.com>
Wed, 4 Aug 2004 08:01:06 +0000 (08:01 +0000)
Lib/UserString.py

index 1f1e87c499c589ea9825716c6ef9f597ed1047ad..e8e0fedd87f783724cc4360ac9662c564407abc8 100755 (executable)
@@ -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