[Python-checkins] python/dist/src/Lib UserString.py,1.22,1.23

perky at users.sourceforge.net perky at users.sourceforge.net
Wed Aug 4 10:01:09 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5767/Lib

Modified Files:
	UserString.py 
Log Message:
Remove .width() and .iswide() from UserString as well.


Index: UserString.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/UserString.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** UserString.py	4 Jun 2004 04:23:29 -0000	1.22
--- UserString.py	4 Aug 2004 08:01:06 -0000	1.23
***************
*** 127,134 ****
      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
--- 127,130 ----



More information about the Python-checkins mailing list