summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gitlab/__init__.py4
-rw-r--r--gitlab/base.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/gitlab/__init__.py b/gitlab/__init__.py
index 44a249d..929ebc3 100644
--- a/gitlab/__init__.py
+++ b/gitlab/__init__.py
@@ -800,9 +800,9 @@ class GitlabList(object):
@property
def prev_page(self):
- """The next page number.
+ """The prev 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 a791db2..3a6facc 100644
--- a/gitlab/base.py
+++ b/gitlab/base.py
@@ -194,9 +194,9 @@ class RESTObjectList(object):
@property
def prev_page(self):
- """The next page number.
+ """The prev page number.
- If None, the current page is the last.
+ If None, the current page is the first.
"""
return self._list.prev_page