blob: dbc04b40472f8db626504fb175f725ee60693257 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- a/src/oset/pyoset.py
+++ b/src/oset/pyoset.py
@@ -13,7 +13,10 @@
def next(it):
return it.next()
else:
- from collections import MutableSet
+ try:
+ from collections.abc import MutableSet
+ except ImportError:
+ from collections import MutableSet
KEY, PREV, NEXT = range(3)
|