summaryrefslogtreecommitdiff
path: root/Lib/UserString.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-02-11 19:00:13 +0000
committerRaymond Hettinger <python@rcn.com>2008-02-11 19:00:13 +0000
commit1021cc692d392f4c34791cf22e942dd1b1e0f519 (patch)
tree570d3ac2e64a7db4b7864fffccc63bffa5aa6aa3 /Lib/UserString.py
parent0dd1b63746c12bfb7a8623e8f2f442494f18450d (diff)
downloadcpython-git-1021cc692d392f4c34791cf22e942dd1b1e0f519.tar.gz
No need to register classes that already inherit from ABCs.
Diffstat (limited to 'Lib/UserString.py')
-rwxr-xr-xLib/UserString.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/UserString.py b/Lib/UserString.py
index c3267ad733..27b2b53d5a 100755
--- a/Lib/UserString.py
+++ b/Lib/UserString.py
@@ -235,8 +235,6 @@ class MutableString(UserString, collections.MutableSequence):
def insert(self, index, value):
self[index:index] = value
-collections.MutableSequence.register(MutableString)
-
if __name__ == "__main__":
# execute the regression test to stdout, if called as a script:
import os