jenkins-bot has submitted this change and it was merged.
Change subject: Fix docstring: Pagegenerators doesn't run as script
......................................................................
Fix docstring: Pagegenerators doesn't run as script
Docstring aligned to script behaviour.
Change-Id: Ic4a905bf24aad74d68f61100bdee21f0bb810a60
---
M pywikibot/pagegenerators.py
1 file changed, 2 insertions(+), 3 deletions(-)
Approvals:
John Vandenberg: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/pagegenerators.py b/pywikibot/pagegenerators.py
index b525839..5e855a8 100644
--- a/pywikibot/pagegenerators.py
+++ b/pywikibot/pagegenerators.py
@@ -4,9 +4,8 @@
object that is iterable (see
http://legacy.python.org/dev/peps/pep-0255/ ) and
that yields page objects on which other scripts can then work.
-In general, there is no need to run this script directly. It can, however,
-be run for testing purposes. It will then print the page titles to standard
-output.
+Pagegenerators.py cannot be run as script. For testing purposes listpages.py can
+be used instead, to print page titles to standard output.
These parameters are supported to specify which pages titles to print:
--
To view, visit
https://gerrit.wikimedia.org/r/151289
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic4a905bf24aad74d68f61100bdee21f0bb810a60
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Mpaa <mpaa.wiki(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: Mpaa <mpaa.wiki(a)gmail.com>
Gerrit-Reviewer: jenkins-bot <>