jenkins-bot has submitted this change and it was merged.
Change subject: Fix docstring issues by prepending 'Return'
......................................................................
Fix docstring issues by prepending 'Return'
Change-Id: I9c1205fbe12f8738d2c08e62b3988a5709c6b7c7
---
M pywikibot/bot_choice.py
M pywikibot/comms/threadedhttp.py
M pywikibot/logentries.py
3 files changed, 4 insertions(+), 4 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/bot_choice.py b/pywikibot/bot_choice.py
index 194ac53..af5bc28 100755
--- a/pywikibot/bot_choice.py
+++ b/pywikibot/bot_choice.py
@@ -202,12 +202,12 @@
@property
def minimum(self):
- """Return the minimum value."""
+ """Return the lower bound of the range of allowed
values."""
return self._min
@property
def maximum(self):
- """Return the maximum value."""
+ """Return the upper bound of the range of allowed
values."""
return self._max
def format(self, default):
diff --git a/pywikibot/comms/threadedhttp.py b/pywikibot/comms/threadedhttp.py
index 5075663..2c3be33 100644
--- a/pywikibot/comms/threadedhttp.py
+++ b/pywikibot/comms/threadedhttp.py
@@ -106,7 +106,7 @@
@property
def status(self):
- """HTTP response status.
+ """Return the HTTP response status.
@rtype: int
"""
diff --git a/pywikibot/logentries.py b/pywikibot/logentries.py
index 654ce80..5d013e5 100644
--- a/pywikibot/logentries.py
+++ b/pywikibot/logentries.py
@@ -257,7 +257,7 @@
def page(self):
"""
- FilePage on which action was performed.
+ Return FilePage on which action was performed.
Note: title may be missing in data dict e.g. by oversight action to
hide the title. In that case a KeyError exception will raise
--
To view, visit
https://gerrit.wikimedia.org/r/263176
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I9c1205fbe12f8738d2c08e62b3988a5709c6b7c7
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Mehtab98 <mehtab.zafar98(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>