From: Raymond Hettinger Date: Thu, 14 Feb 2008 19:30:30 +0000 (+0000) Subject: No need to register subclass of ABCs. X-Git-Tag: v2.6a1~166 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36316e37d57ee871a642e760a4d4566b54db78ae;p=python No need to register subclass of ABCs. --- diff --git a/Lib/UserString.py b/Lib/UserString.py index 94fcbd276d..4ef2265760 100755 --- a/Lib/UserString.py +++ b/Lib/UserString.py @@ -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