Skip to content

Commit 57091f0

Browse files
cbrnrlarsoner
authored andcommitted
Fix import of Iterable (#5828)
1 parent b2b5512 commit 57091f0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

mne/channels/montage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#
1010
# License: Simplified BSD
1111

12-
from collections import Iterable
12+
from collections.abc import Iterable
1313
import os
1414
import os.path as op
1515

mne/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
# License: BSD (3-clause)
66

77
import atexit
8-
from collections import Iterable, OrderedDict
8+
from collections.abc import Iterable
9+
from collections import OrderedDict
910
from contextlib import contextmanager
1011
from distutils.version import LooseVersion
1112
from functools import wraps

0 commit comments

Comments
 (0)