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
pywikibot-commits@lists.wikimedia.org