Skip to content

Commit 1e11919

Browse files
committed
DOC: expand docstring
1 parent b7df4b7 commit 1e11919

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cycler.py

+8
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,14 @@ def concat(left, right):
415415
This returns a single Cycler which is equivalent to
416416
`itertools.chain(left, right)`
417417
418+
Examples
419+
--------
420+
421+
>>> num = cycler('a', range(3))
422+
>>> let = cycler('a', 'abc')
423+
>>> num.concat(let)
424+
cycler('a', [0, 1, 2, 'a', 'b', 'c'])
425+
418426
Parameters
419427
----------
420428
left, right : `Cycler`

0 commit comments

Comments
 (0)