Skip to content

Commit

Permalink
is_singular function was missing self argument adding self argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikhil Patil committed Oct 25, 2017
1 parent 7ec0556 commit fd8a6c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsonpath_rw/jsonpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit fd8a6c3

Please sign in to comment.