Fix imports for collections abstract classes
This commit is contained in:
1 parent
76e604c951
commit
74abaf0de0
2 files changed
+2
-2
No files matched your search
@@ -19,7 +19,7 @@ def is_iterable(obj):
|
||||
return hasattr(obj, '__iter__') and not isinstance(obj, (str, bytes))
|
||||
|
||||
|
||||
class OrderedSet(collections.MutableSet):
|
||||
class OrderedSet(collections.abc.MutableSet):
|
||||
"""
|
||||
An OrderedSet is a custom MutableSet that remembers its order, so that
|
||||
every entry has an index that can be looked up.
|
||||
|
||||
Reference in new issue
Block a user