summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHye-Shik Chang <hyeshik@gmail.com>2004-08-04 08:01:06 (GMT)
committerHye-Shik Chang <hyeshik@gmail.com>2004-08-04 08:01:06 (GMT)
commit4189c643f8a631ec309ecf9cde79cf0ff2824a26 (patch)
tree27b500af8f28b2d2322186ea24c6bfff7ecca331
parente9ddfbb41207328d5c89061067f3431e00711fda (diff)
downloadcpython-4189c643f8a631ec309ecf9cde79cf0ff2824a26.zip
cpython-4189c643f8a631ec309ecf9cde79cf0ff2824a26.tar.gz
cpython-4189c643f8a631ec309ecf9cde79cf0ff2824a26.tar.bz2
Remove .width() and .iswide() from UserString as well.
-rwxr-xr-xLib/UserString.py4
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