def last(self): return Href(URL(self._uri, pageno=str(self.lastpageno())), self._labellast())
def previous(self): previousno = max(self._pageno - 1, 1) return Href(URL(self._uri, pageno=str(previousno)), self._labelprevious())
def next(self): nextno = min(self._pageno + 1, self.lastpageno()) return Href(URL(self._uri, pageno=str(nextno)), self._labelnext())
def first(self): return Href(URL(self._uri), self._labelfirst())