diff --git a/Lib/UserList.py b/Lib/UserList.py index 17f45c8c666..556a3273a8a 100644 --- a/Lib/UserList.py +++ b/Lib/UserList.py @@ -85,5 +85,3 @@ class UserList(collections.MutableSequence): 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 71984a71cd4..94fcbd276dc 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