]> granicus.if.org Git - python/commitdiff
No need to register subclass of ABCs.
authorRaymond Hettinger <python@rcn.com>
Thu, 14 Feb 2008 19:30:30 +0000 (19:30 +0000)
committerRaymond Hettinger <python@rcn.com>
Thu, 14 Feb 2008 19:30:30 +0000 (19:30 +0000)
Lib/UserString.py

index 94fcbd276dcb053d4d9ce5e304951c9862fdf899..4ef22657601897b58ae6cc137a66497f2aa01b10 100755 (executable)
@@ -130,8 +130,6 @@ class UserString(collections.Sequence):
     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