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 Args
---- ----
seq : sequnce or generator seq : sequence or generator
The sequnce to take elements from. The sequence to take elements from.
count : int count : int
The number of elments to take. The number of elements to take.
""" """
for _ in range(count): for _ in range(count):
i = next(seq, NO_MORE_SENTINEL) i = next(seq, NO_MORE_SENTINEL)

Loading…
Cancel
Save