From f6b26b25805f1c01c3fae1495176cefac7d4a158 Mon Sep 17 00:00:00 2001 From: Ryan Marvin Date: Thu, 18 Feb 2021 18:27:21 +0300 Subject: Update comment --- jsonpatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.1