diff --git a/Lib/UserList.py b/Lib/UserList.py index 17f45c8c666d..556a3273a8a8 100644 --- a/Lib/UserList.py +++ b/Lib/UserList.py @@ -85,5 +85,3 @@ def extend(self, other): self.data.extend(other.data) else: self.data.extend(other) - -collections.MutableSequence.register(UserList) diff --git a/Lib/UserString.py b/Lib/UserString.py index 71984a71cd49..94fcbd276dcb 100755 --- a/Lib/UserString.py +++ b/Lib/UserString.py @@ -214,8 +214,6 @@ def __imul__(self, n): 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