remove unused param of to_last()

This commit is contained in:
Stefan Kögl
2013-07-11 21:10:11 +02:00
parent 5bf2ef97f7
commit 03abbd77f9

View File

@@ -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: