Skip to content

Commit f6b26b2

Browse files
committed
Update comment
1 parent 78abec1 commit f6b26b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsonpatch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ def _item_removed(self, path, key, item):
802802
new_index = self.insert(new_op)
803803
if index is not None:
804804
op = index[2]
805-
# We can't rely on the op.key property type since PatchOperation casts
805+
# We can't rely on the op.key type since PatchOperation casts
806806
# the .key property to int and this path wrongly ends up being taken
807807
# for numeric string dict keys while the intention is to only handle lists.
808808
# So we do an explicit check on the item affected by the op instead.

0 commit comments

Comments
 (0)