summaryrefslogtreecommitdiff
path: root/jsonpointer.py
diff options
context:
space:
mode:
Diffstat (limited to 'jsonpointer.py')
-rw-r--r--jsonpointer.py2
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: