Skip to content

Commit 03cfac3

Browse files
committed
Itertools
1 parent d0feeee commit 03cfac3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,14 +235,14 @@ from itertools import islice, count, repeat, cycle, chain
235235
```
236236

237237
```python
238-
<iter> = count(start=0, step=1) # Counter.
239-
<iter> = repeat(<el> [, times]) # Returns element endlesly or times times.
240-
<iter> = cycle(<collection>) # Repeats the sequence indefinately.
238+
<iter> = count(start=0, step=1) # Counter.
239+
<iter> = repeat(<el> [, times]) # Returns element endlesly or times times.
240+
<iter> = cycle(<collection>) # Repeats the sequence indefinately.
241241
```
242242

243243
```python
244-
<iter> = chain(<collection>, <collection> [, ...]) # Empties sequences in order.
245-
<iter> = chain.from_iterable(<collection>) # Empties sequences inside a sequence in order.
244+
<iter> = chain(<collection>, <collection>) # Empties sequences in order.
245+
<iter> = chain.from_iterable(<collection>) # Empties sequences inside a sequence in order.
246246
```
247247

248248

0 commit comments

Comments
 (0)