diff options
| author | donhui <977675308@qq.com> | 2020-03-20 16:53:17 +0800 |
|---|---|---|
| committer | donhui <977675308@qq.com> | 2020-03-20 16:53:17 +0800 |
| commit | 7993c935f62e67905af558dd06394764e708cafe (patch) | |
| tree | d43f1406069fa945feeb125378fbfd7f9e7aae91 /gitlab | |
| parent | ad7e2bf7472668ffdcc85eec30db4139b92595a6 (diff) | |
| download | gitlab-7993c935f62e67905af558dd06394764e708cafe.tar.gz | |
docs: fix comment of prev_page()
Diffstat (limited to 'gitlab')
| -rw-r--r-- | gitlab/__init__.py | 4 | ||||
| -rw-r--r-- | gitlab/base.py | 4 |
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 |
