summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Marvin <marvinryan@ymail.com>2021-02-18 18:27:21 +0300
committerRyan Marvin <marvinryan@ymail.com>2021-02-18 18:27:21 +0300
commitf6b26b25805f1c01c3fae1495176cefac7d4a158 (patch)
tree89bb2c6e98c6ed5ebbe1851cb836df2fd6b29d68
parent78abec1651c4c3166d0eda4f9c0e43e00df57494 (diff)
downloadpython-json-patch-f6b26b25805f1c01c3fae1495176cefac7d4a158.tar.gz
Update comment
-rw-r--r--jsonpatch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonpatch.py b/jsonpatch.py
index 7b895b7..b4ff24b 100644
--- a/jsonpatch.py
+++ b/jsonpatch.py
@@ -802,7 +802,7 @@ class DiffBuilder(object):
new_index = self.insert(new_op)
if index is not None:
op = index[2]
- # We can't rely on the op.key property type since PatchOperation casts
+ # We can't rely on the op.key type since PatchOperation casts
# the .key property to int and this path wrongly ends up being taken
# for numeric string dict keys while the intention is to only handle lists.
# So we do an explicit check on the item affected by the op instead.