Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1202123?usp=email )
Change subject: fix pywikibot.site.logenvents() start, end and reverse
documentation
......................................................................
fix pywikibot.site.logenvents() start, end and reverse documentation
Bug: T407052
Change-Id: I1aeb13bb794b29c7574b995bba5b922bb126ef0a
---
M pywikibot/site/_generators.py
1 file changed, 6 insertions(+), 7 deletions(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/pywikibot/site/_generators.py b/pywikibot/site/_generators.py
index 4639bf6..c4b4851 100644
--- a/pywikibot/site/_generators.py
+++ b/pywikibot/site/_generators.py
@@ -1403,13 +1403,12 @@
namespaces will be fetched from the API and will be
filtered later during iteration.
- :param start: Only iterate entries from and after this Timestamp
- :param end: Only iterate entries up to and through this
- Timestamp
- :param reverse: If True, iterate oldest entries first (default:
- newest)
- :param tag: Only iterate entries tagged with this tag
- :param total: Maximum number of events to iterate
+ :param start: The timestamp to start enumerating from.
+ :param end: The timestamp to end enumerating at.
+ :param reverse: If ``True``, enumerate the oldest entries first.
+ In this case, *start* must be earlier than *end*.
+ :param tag: only iterate entries tagged with this tag
+ :param total: maximum number of events to iterate
:raises KeyError: The namespace identifier was not resolved
:raises TypeError: The namespace identifier has an inappropriate
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1202123?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I1aeb13bb794b29c7574b995bba5b922bb126ef0a
Gerrit-Change-Number: 1202123
Gerrit-PatchSet: 13
Gerrit-Owner: Ezra yendau <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: Zache-tool <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]