Skip to content

Commit 4dd73bd

Browse files
committed
Update cute_iter_tools.py
1 parent 015005f commit 4dd73bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

python_toolbox/cute_iter_tools.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ def iterate_overlapping_subsequences(iterable, length=2, wrap_around=False):
1919
'''
2020
Iterate over overlapping subsequences from the iterable.
2121
22-
Example: if the iterable is [0, 1, 2, 3], then its `consecutive_pairs` with
23-
length 2 would be `[(0, 1), (1, 2), (2, 3)]`. (Except it would be an
24-
iterator and not an actual list.)
22+
Example: if the iterable is [0, 1, 2, 3], then the result would be
23+
`[(0, 1), (1, 2), (2, 3)]`. (Except it would be an iterator and not an
24+
actual list.)
2525
2626
With a length of 3, the result would be an iterator of `[(0, 1, 2), (1,
2727
2, 3)]`.
@@ -259,4 +259,4 @@ def make_false_iterator():
259259

260260

261261

262-
262+

0 commit comments

Comments
 (0)