summaryrefslogtreecommitdiff
path: root/Lib/UserString.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-02-11 18:51:08 +0000
committerRaymond Hettinger <python@rcn.com>2008-02-11 18:51:08 +0000
commit31f6bc018bacbb682b3a55d85667ca8c767a482b (patch)
tree755bd747a0caa78421f0c7b25cce91a3140a2daf /Lib/UserString.py
parentcd873fc1428b52620e26e44e19ce00a7ed79555c (diff)
downloadcpython-git-31f6bc018bacbb682b3a55d85667ca8c767a482b.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 71984a71cd..94fcbd276d 100755
--- a/Lib/UserString.py
+++ b/Lib/UserString.py
@@ -214,8 +214,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