diff --git a/mapper/casedict.py b/mapper/casedict.py index b1cb499..20beedf 100644 --- a/mapper/casedict.py +++ b/mapper/casedict.py @@ -4,8 +4,12 @@ https://bitbucket.org/optiflowsrd/obelus/src/tip/obelus/casedict.py """ -from collections import MutableMapping +import sys +if sys.version_info[:2] >= (3, 8): + from collections.abc import MutableMapping +else: + from collections import MutableMapping _sentinel = object()