We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fbaea75 + e996aa8 commit ad40939Copy full SHA for ad40939
1 file changed
src/xmlsec/crypto.py
@@ -4,6 +4,7 @@
4
import logging
5
import threading
6
import six
7
+import sys
8
from six.moves import xrange
9
from xmlsec import constants
10
from binascii import hexlify
@@ -20,6 +21,8 @@
20
21
22
if six.PY2:
23
from UserDict import DictMixin
24
+elif sys.version_info[:2] >= (3, 8):
25
+ from collections.abc import MutableMapping as DictMixin
26
else:
27
from collections import MutableMapping as DictMixin
28
0 commit comments