Xqt has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/820837 )

Change subject: [IMPR]: fix docstring for page.ocr() method.
......................................................................

[IMPR]: fix docstring for page.ocr() method.

Fix docstring for page.ocr() method:
- specify also 'wmfOCR' for ocr_tool parameter.

Change-Id: I4829d80d9ec79354df97c1a2e95dab0f4939ecc5
---
M pywikibot/proofreadpage.py
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Xqt: Verified; Looks good to me, approved
  Mpaa: Looks good to me, approved



diff --git a/pywikibot/proofreadpage.py b/pywikibot/proofreadpage.py
index 2f98b6c..6004a73 100644
--- a/pywikibot/proofreadpage.py
+++ b/pywikibot/proofreadpage.py
@@ -736,7 +736,8 @@

         It is the user's responsibility to reset quality level accordingly.

-        :param ocr_tool: 'phetools' or 'googleOCR', default is 'phetools'
+        :param ocr_tool: 'phetools', 'wmfOCR' or 'googleOCR';
+            default is 'phetools'

         :return: OCR text for the page.


--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/820837
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I4829d80d9ec79354df97c1a2e95dab0f4939ecc5
Gerrit-Change-Number: 820837
Gerrit-PatchSet: 1
Gerrit-Owner: Mpaa <[email protected]>
Gerrit-Reviewer: Mpaa <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to