summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikhil Patil <nikhilpatil123@gmail.com>2019-04-03 08:30:25 +0530
committerKenn Knowles <kenn@kennknowles.com>2019-04-02 20:00:25 -0700
commitf615451d7b405e23e0f80b15cad03b1427b0256d (patch)
tree2991cfc66022461d5ff7ae69846c60c0e9778e1e
parent73dfccdb19be0c8887ac5215666617ca2793d9c9 (diff)
downloadjsonpath-rw-f615451d7b405e23e0f80b15cad03b1427b0256d.tar.gz
is_singular function was missing self argument adding self argument (#52)
-rw-r--r--jsonpath_rw/jsonpath.py2
1 files changed, 1 insertions, 1 deletions
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 @@ class Descendants(JSONPath):
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):