Skip to content

Commit bc76406

Browse files
authored
Merge pull request #465 from jwodder/master
Prefer importing ABCs from collections.abc
2 parents cffeca1 + 13ec6c2 commit bc76406

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)