From 03abbd77f9bebb7aa8dfcd205314bd516511c591 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20K=C3=B6gl?= Date: Thu, 11 Jul 2013 21:10:11 +0200 Subject: remove unused param of to_last() --- jsonpointer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jsonpointer.py') 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: -- cgit v1.2.1