Skip to content

Commit bf01e7d

Browse files
Correct import for MutableMapping
Keep compatibility with Python > 3.9
1 parent 30be3ce commit bf01e7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xmlsec/crypto.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
if six.PY2:
2323
from UserDict import DictMixin
2424
else:
25-
from collections import MutableMapping as DictMixin
25+
from collections.abc import MutableMapping as DictMixin
2626

2727
NS = {'ds': 'http://www.w3.org/2000/09/xmldsig#'}
2828

0 commit comments

Comments
 (0)