summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jsonpatch.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/jsonpatch.py b/jsonpatch.py
index 705b4ed..b490108 100644
--- a/jsonpatch.py
+++ b/jsonpatch.py
@@ -51,8 +51,10 @@ _ST_REMOVE = 1
try:
from collections.abc import MutableMapping, MutableSequence
+
except ImportError:
from collections import MutableMapping, MutableSequence
+ str = unicode
# Will be parsed by setup.py to determine package metadata
__author__ = 'Stefan Kögl <stefan@skoegl.net>'