Skip to content

Commit ddac6dd

Browse files
alexfiklinducer
authored andcommitted
import from collections.abc only
1 parent d28679e commit ddac6dd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

sumpy/tools.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -686,10 +686,7 @@ def get_kernel(self):
686686
# Author: Raymond Hettinger
687687
# License: MIT
688688

689-
try:
690-
from collections.abc import MutableSet
691-
except ImportError:
692-
from collections import MutableSet
689+
from collections.abc import MutableSet
693690

694691

695692
class OrderedSet(MutableSet):

0 commit comments

Comments
 (0)