Browse Source

Typo corrections

pull/129/head
“elderlabs” 7 years ago
parent
commit
76d05ec3a2
  1. 6
      disco/util/functional.py

6
disco/util/functional.py

@ -9,10 +9,10 @@ def take(seq, count):
Args
----
seq : sequnce or generator
The sequnce to take elements from.
seq : sequence or generator
The sequence to take elements from.
count : int
The number of elments to take.
The number of elements to take.
"""
for _ in range(count):
i = next(seq, NO_MORE_SENTINEL)

Loading…
Cancel
Save