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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=36316e37d57ee871a642e760a4d4566b54db78ae;p=thirdparty%2FPython%2Fcpython.git No need to register subclass of ABCs. --- diff --git a/Lib/UserString.py b/Lib/UserString.py index 94fcbd276dcb..4ef226576018 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