jenkins-bot has submitted this change and it was merged.
Change subject: Fixing two typos in docstring ......................................................................
Fixing two typos in docstring
Follow-up to I2e7113876bc3a150c01701614d13931e1d4819b0
Change-Id: I6d7206b6188df412c4215adf0de9068a065ff946 --- M pywikibot/page.py M pywikibot/site.py 2 files changed, 4 insertions(+), 4 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/page.py b/pywikibot/page.py index 0f6d838..2d5fea5 100644 --- a/pywikibot/page.py +++ b/pywikibot/page.py @@ -2486,9 +2486,9 @@ a boolean or an iterable. The callable gets a list of UploadWarning instances and the iterable should contain the warning codes for which an equivalent callable would return True if all UploadWarning - codes are in thet list. If the result is False it'll not continuing + codes are in thet list. If the result is False it'll not continue uploading the file and otherwise disable any warning and - reattempting to upload the file. NOTE: If report_success is True or + reattempt to upload the file. NOTE: If report_success is True or None it'll raise an UploadWarning exception if the static boolean is False. @type ignore_warnings: bool or callable or iterable of str diff --git a/pywikibot/site.py b/pywikibot/site.py index cd6b1d4..ddfa8e3 100644 --- a/pywikibot/site.py +++ b/pywikibot/site.py @@ -5872,9 +5872,9 @@ a boolean or an iterable. The callable gets a list of UploadWarning instances and the iterable should contain the warning codes for which an equivalent callable would return True if all UploadWarning - codes are in thet list. If the result is False it'll not continuing + codes are in thet list. If the result is False it'll not continue uploading the file and otherwise disable any warning and - reattempting to upload the file. NOTE: If report_success is True or + reattempt to upload the file. NOTE: If report_success is True or None it'll raise an UploadWarning exception if the static boolean is False. @type ignore_warnings: bool or callable or iterable of str