mirror of
https://github.com/lgandx/Responder.git
synced 2025-07-05 20:41:22 -07:00
MutableMapping was moved to collections.abc
This commit is contained in:
parent
39a2c7c0f2
commit
b9f3ae35ee
1 changed files with 6 additions and 3 deletions
3
odict.py
3
odict.py
|
@ -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):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue