diff --git a/jsonpointer.py b/jsonpointer.py index b6d1430..050d48c 100644 --- a/jsonpointer.py +++ b/jsonpointer.py @@ -119,7 +119,7 @@ class JsonPointer(object): self.parts = parts - def to_last(self, doc, default=_nothing): + def to_last(self, doc): """ Resolves ptr until the last step, returns (sub-doc, last-step) """ if not self.parts: