diff --git a/gitlab/__init__.py b/gitlab/__init__.py index 44a249de0..a12ffb9cc 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -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 diff --git a/gitlab/base.py b/gitlab/base.py index a791db299..bc27237f2 100644 --- a/gitlab/base.py +++ b/gitlab/base.py @@ -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