From 8a05f33608a710b788a7f4964e14abcfd09fdcd6 Mon Sep 17 00:00:00 2001 From: Nikhil Patil Date: Sun, 10 Sep 2017 01:12:08 +0530 Subject: [PATCH] is_singular function was missing self argument. --- jsonpath_rw/jsonpath.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonpath_rw/jsonpath.py b/jsonpath_rw/jsonpath.py index 146a960..c47653e 100644 --- a/jsonpath_rw/jsonpath.py +++ b/jsonpath_rw/jsonpath.py @@ -340,7 +340,7 @@ def match_recursively(datum): for left_match in left_matches for submatch in match_recursively(left_match)] - def is_singular(): + def is_singular(self): return False def update(self, data, val):