diff options
author | Stefan Kögl <stefan@skoegl.net> | 2013-07-11 21:10:11 +0200 |
---|---|---|
committer | Stefan Kögl <stefan@skoegl.net> | 2013-07-11 21:10:11 +0200 |
commit | 03abbd77f9bebb7aa8dfcd205314bd516511c591 (patch) | |
tree | b776cccb52cce3ededc3bdd890b77625b364fe73 | |
parent | 5bf2ef97f7c599b54c9632c1e9c544f71153d9e3 (diff) | |
download | python-json-pointer-03abbd77f9bebb7aa8dfcd205314bd516511c591.tar.gz |
remove unused param of to_last()
-rw-r--r-- | jsonpointer.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |