Merge pull request #191 from Mipsters/master

MutableMapping was moved to collections.abc
This commit is contained in:
lgandx 2022-02-12 17:17:23 -03:00 committed by GitHub
commit 2b727e94bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,10 @@ try:
from UserDict import DictMixin
except ImportError:
from collections import UserDict
try:
from collections import MutableMapping as DictMixin
except ImportError:
from collections.abc import MutableMapping as DictMixin
class OrderedDict(dict, DictMixin):