Merge r60628, r60631, and r60633. Register UserList and UserString will the appropriate ABCs.
diff --git a/Lib/UserList.py b/Lib/UserList.py
index 072f6a7..17f45c8 100644
--- a/Lib/UserList.py
+++ b/Lib/UserList.py
@@ -1,6 +1,8 @@
"""A more or less complete user-defined wrapper around list objects."""
-class UserList:
+import collections
+
+class UserList(collections.MutableSequence):
def __init__(self, initlist=None):
self.data = []
if initlist is not None:
@@ -83,3 +85,5 @@
self.data.extend(other.data)
else:
self.data.extend(other)
+
+collections.MutableSequence.register(UserList)