Commit 514e8270 authored by Claude Paroz's avatar Claude Paroz
Browse files

Fixed pagination example wrt new next_page_number behavior

parent fc40a650
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -43,7 +43,9 @@ page::
    >>> page2.has_other_pages()
    True
    >>> page2.next_page_number()
    3
    Traceback (most recent call last):
    ...
    EmptyPage: That page contains no results
    >>> page2.previous_page_number()
    1
    >>> page2.start_index() # The 1-based index of the first item on this page