From 4189c643f8a631ec309ecf9cde79cf0ff2824a26 Mon Sep 17 00:00:00 2001 From: Hye-Shik Chang Date: Wed, 4 Aug 2004 08:01:06 +0000 Subject: Remove .width() and .iswide() from UserString as well. --- Lib/UserString.py | 4 ---- 1 file changed, 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 -- cgit v0.12