Xqt submitted this change.
[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(-)
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 change 820837. To unsubscribe, or for help writing mail filters, visit settings.