Browse Source

Iterator

pull/27/head
Jure Šorn 6 years ago
parent
commit
b66c38f12d
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -186,7 +186,7 @@ from itertools import islice, count, repeat, cycle, chain
```
```python
<iter> = count(start=0, step=1) # Returns incremented integer endlessly.
<iter> = count(start=0, step=1) # Returns incremented value endlessly.
<iter> = repeat(<el> [, times]) # Returns element endlessly or 'times' times.
<iter> = cycle(<collection>) # Repeats the sequence indefinitely.
```

Loading…
Cancel
Save