mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-03-15 06:03:38 +01:00
Fix imports for collections abstract classes
This commit is contained in:
@@ -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