Commits

Anonymous committed b56481a

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

  • Participants
  • Parent commits 024ff0a
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Lib/UserString.py

     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