Skip to content

Commit

Permalink
Merge pull request #1049 from donhui/typo-fix
Browse files Browse the repository at this point in the history
* docs: fix comment of prev_page()
  • Loading branch information
nejch committed Mar 21, 2020
2 parents 4ffaf1d + b066b41 commit 82deb7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gitlab/__init__.py
Expand Up @@ -800,9 +800,9 @@ def current_page(self):

@property
def prev_page(self):
"""The next page number.
"""The previous page number.
If None, the current page is the last.
If None, the current page is the first.
"""
return int(self._prev_page) if self._prev_page else None

Expand Down
4 changes: 2 additions & 2 deletions gitlab/base.py
Expand Up @@ -194,9 +194,9 @@ def current_page(self):

@property
def prev_page(self):
"""The next page number.
"""The previous page number.
If None, the current page is the last.
If None, the current page is the first.
"""
return self._list.prev_page

Expand Down

0 comments on commit 82deb7d

Please sign in to comment.