From 7993c935f62e67905af558dd06394764e708cafe Mon Sep 17 00:00:00 2001 From: donhui <977675308@qq.com> Date: Fri, 20 Mar 2020 16:53:17 +0800 Subject: [PATCH 1/3] docs: fix comment of prev_page() --- gitlab/__init__.py | 4 ++-- gitlab/base.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gitlab/__init__.py b/gitlab/__init__.py index 44a249de0..929ebc3b2 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 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 a791db299..3a6facc8b 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 prev page number. - If None, the current page is the last. + If None, the current page is the first. """ return self._list.prev_page From ac6b2daf8048f4f6dea14bbf142b8f3a00726443 Mon Sep 17 00:00:00 2001 From: Donghui Wang <977675308@qq.com> Date: Sat, 21 Mar 2020 15:54:20 +0800 Subject: [PATCH 2/3] docs: fix comment of prev_page() Co-Authored-By: Nejc Habjan --- gitlab/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitlab/base.py b/gitlab/base.py index 3a6facc8b..bc27237f2 100644 --- a/gitlab/base.py +++ b/gitlab/base.py @@ -194,7 +194,7 @@ def current_page(self): @property def prev_page(self): - """The prev page number. + """The previous page number. If None, the current page is the first. """ From b066b41314f55fbdc4ee6868d1e0aba1e5620a48 Mon Sep 17 00:00:00 2001 From: Donghui Wang <977675308@qq.com> Date: Sat, 21 Mar 2020 15:54:29 +0800 Subject: [PATCH 3/3] docs: fix comment of prev_page() Co-Authored-By: Nejc Habjan --- gitlab/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitlab/__init__.py b/gitlab/__init__.py index 929ebc3b2..a12ffb9cc 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -800,7 +800,7 @@ def current_page(self): @property def prev_page(self): - """The prev page number. + """The previous page number. If None, the current page is the first. """