Xqt submitted this change.

View Change

Approvals: Xqt: Verified; Looks good to me, approved
[sphinx] fix doc strings in tools/__init__.py

Change-Id: I0f7bd8e1a2cedbce035beca95f46ead265647db9
---
M pywikibot/tools/__init__.py
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/pywikibot/tools/__init__.py b/pywikibot/tools/__init__.py
index 996efd8..40c7f29 100644
--- a/pywikibot/tools/__init__.py
+++ b/pywikibot/tools/__init__.py
@@ -939,6 +939,7 @@
there is no more chance of finding an item in all queues.

Sample:
+
>>> iterables = 'mississippi', 'missouri'
>>> list(intersect_generators(*iterables))
['m', 'i', 's']
@@ -1046,6 +1047,7 @@
"""Yield simultaneous from each iterable.

Sample:
+
>>> tuple(roundrobin_generators('ABC', range(5)))
('A', 0, 'B', 1, 'C', 2, 3, 4)


To view, visit change 700906. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I0f7bd8e1a2cedbce035beca95f46ead265647db9
Gerrit-Change-Number: 700906
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-MessageType: merged