jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/484443 )
Change subject: [doc] Update doc
......................................................................
[doc] Update doc
Multiple streams where provided with T205114 and the keyword stream was
renamed to streams. Change the doc accordingly.
Change-Id: I80b18c723c3a96873d50d0b239d4cdcded096dfa
---
M pywikibot/comms/eventstreams.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Dvorapa: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/comms/eventstreams.py b/pywikibot/comms/eventstreams.py
index 5863579..8181194 100644
--- a/pywikibot/comms/eventstreams.py
+++ b/pywikibot/comms/eventstreams.py
@@ -51,7 +51,7 @@
Usage:
- >>> stream = EventStreams(stream='recentchange')
+ >>> stream = EventStreams(streams='recentchange')
>>> stream.register_filter(type='edit', wiki='wikidatawiki')
>>> change = next(iter(stream))
>>> print('{type} on page {title} by {user}.'.format(**change))
--
To view, visit https://gerrit.wikimedia.org/r/484443
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I80b18c723c3a96873d50d0b239d4cdcded096dfa
Gerrit-Change-Number: 484443
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Dvorapa <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: jenkins-bot (75)
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits