summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-02-14 19:30:30 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-02-14 19:30:30 (GMT)
commit36316e37d57ee871a642e760a4d4566b54db78ae (patch)
treeca073057859325dcb51f2b79d6e12a6e3f85f4e5
parent5111c522e7ae21ad3342f14be4a5ff46230b46b0 (diff)
downloadcpython-36316e37d57ee871a642e760a4d4566b54db78ae.zip
cpython-36316e37d57ee871a642e760a4d4566b54db78ae.tar.gz
cpython-36316e37d57ee871a642e760a4d4566b54db78ae.tar.bz2
No need to register subclass of ABCs.
-rwxr-xr-xLib/UserString.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/UserString.py b/Lib/UserString.py
index 94fcbd2..4ef2265 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