mirror of
https://github.com/lgandx/Responder.git
synced 2025-12-08 05:31:32 +00:00
MutableMapping was moved to collections.abc
This commit is contained in:
3
odict.py
3
odict.py
@@ -3,7 +3,10 @@ try:
|
|||||||
from UserDict import DictMixin
|
from UserDict import DictMixin
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from collections import UserDict
|
from collections import UserDict
|
||||||
|
try:
|
||||||
from collections import MutableMapping as DictMixin
|
from collections import MutableMapping as DictMixin
|
||||||
|
except ImportError:
|
||||||
|
from collections.abc import MutableMapping as DictMixin
|
||||||
|
|
||||||
class OrderedDict(dict, DictMixin):
|
class OrderedDict(dict, DictMixin):
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user