summaryrefslogtreecommitdiff
path: root/taskflow/types/sets.py
diff options
context:
space:
mode:
Diffstat (limited to 'taskflow/types/sets.py')
-rw-r--r--taskflow/types/sets.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/taskflow/types/sets.py b/taskflow/types/sets.py
index bbd988d..1a33ed3 100644
--- a/taskflow/types/sets.py
+++ b/taskflow/types/sets.py
@@ -15,8 +15,7 @@
# under the License.
import collections
-from collections.abc import Hashable
-from collections.abc import Set
+from collections import abc
import itertools
import six
@@ -34,7 +33,7 @@ def _merge_in(target, iterable=None, sentinel=_sentinel):
return target
-class OrderedSet(Set, Hashable):
+class OrderedSet(abc.Set, abc.Hashable):
"""A read-only hashable set that retains insertion/initial ordering.
It should work in all existing places that ``frozenset`` is used.