diff options
author | Hye-Shik Chang <hyeshik@gmail.com> | 2004-08-04 08:01:06 (GMT) |
---|---|---|
committer | Hye-Shik Chang <hyeshik@gmail.com> | 2004-08-04 08:01:06 (GMT) |
commit | 4189c643f8a631ec309ecf9cde79cf0ff2824a26 (patch) | |
tree | 27b500af8f28b2d2322186ea24c6bfff7ecca331 | |
parent | e9ddfbb41207328d5c89061067f3431e00711fda (diff) | |
download | cpython-4189c643f8a631ec309ecf9cde79cf0ff2824a26.zip cpython-4189c643f8a631ec309ecf9cde79cf0ff2824a26.tar.gz cpython-4189c643f8a631ec309ecf9cde79cf0ff2824a26.tar.bz2 |
Remove .width() and .iswide() from UserString as well.
-rwxr-xr-x | Lib/UserString.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/UserString.py b/Lib/UserString.py index 1f1e87c..e8e0fed 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 |