Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit82deb7d

Browse files
authored
Merge pull request#1049 from donhui/typo-fix
* docs: fix comment of prev_page()
2 parents4ffaf1d +b066b41 commit82deb7d

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
defprev_page(self):
803-
"""Thenext page number.
803+
"""Theprevious page number.
804804
805-
If None, the current page is thelast.
805+
If None, the current page is thefirst.
806806
"""
807807
returnint(self._prev_page)ifself._prev_pageelseNone
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
defprev_page(self):
197-
"""Thenext page number.
197+
"""Theprevious page number.
198198
199-
If None, the current page is thelast.
199+
If None, the current page is thefirst.
200200
"""
201201
returnself._list.prev_page
202202

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp