Kaydet (Commit) 4189c643 authored tarafından Hye-Shik Chang's avatar Hye-Shik Chang

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

üst e9ddfbb4
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment