mirror of
https://github.com/lgandx/Responder.git
synced 2025-08-20 21:33:31 -07:00
Merge pull request #191 from Mipsters/master
MutableMapping was moved to collections.abc
This commit is contained in:
commit
2b727e94bb
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