summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jsonpatch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonpatch.py b/jsonpatch.py
index 63dcd97..21714c7 100644
--- a/jsonpatch.py
+++ b/jsonpatch.py
@@ -649,7 +649,7 @@ class CopyOperation(PatchOperation):
class DiffBuilder(object):
- def __init__(self, dumps):
+ def __init__(self, dumps=json.dumps):
self.dumps = dumps
self.index_storage = [{}, {}]
self.index_storage2 = [[], []]