[Python-checkins] r60811 - python/trunk/Lib/UserString.py
raymond.hettinger
python-checkins at python.org
Thu Feb 14 20:30:30 CET 2008
Author: raymond.hettinger
Date: Thu Feb 14 20:30:30 2008
New Revision: 60811
Modified:
python/trunk/Lib/UserString.py
Log:
No need to register subclass of ABCs.
Modified: python/trunk/Lib/UserString.py
==============================================================================
--- python/trunk/Lib/UserString.py (original)
+++ python/trunk/Lib/UserString.py Thu Feb 14 20:30:30 2008
@@ -130,8 +130,6 @@
def upper(self): return self.__class__(self.data.upper())
def zfill(self, width): return self.__class__(self.data.zfill(width))
-collections.Sequence.register(UserString)
-
class MutableString(UserString, collections.MutableSequence):
"""mutable string objects
More information about the Python-checkins
mailing list