Skip to content

Commit 13ec6c2

Browse files
committed
Prefer importing ABCs from collections.abc
1 parent cffeca1 commit 13ec6c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jsonschema/compat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44

55
try:
6-
from collections import MutableMapping, Sequence # noqa
7-
except ImportError:
86
from collections.abc import MutableMapping, Sequence # noqa
7+
except ImportError:
8+
from collections import MutableMapping, Sequence # noqa
99

1010
PY3 = sys.version_info[0] >= 3
1111

0 commit comments

Comments
 (0)