Skip to content

Commit 793fd99

Browse files
committed
typo fix
1 parent ad7e2bf commit 793fd99

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

gitlab/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -800,9 +800,9 @@ def current_page(self):
800800

801801
@property
802802
def prev_page(self):
803-
"""The next page number.
803+
"""The prev page number.
804804
805-
If None, the current page is the last.
805+
If None, the current page is the first.
806806
"""
807807
return int(self._prev_page) if self._prev_page else None
808808

gitlab/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,9 @@ def current_page(self):
194194

195195
@property
196196
def prev_page(self):
197-
"""The next page number.
197+
"""The prev page number.
198198
199-
If None, the current page is the last.
199+
If None, the current page is the first.
200200
"""
201201
return self._list.prev_page
202202

0 commit comments

Comments
 (0)