diff --git a/README.md b/README.md index 86734a2..355c11e 100644 --- a/README.md +++ b/README.md @@ -199,27 +199,6 @@ from itertools import islice, count, repeat, cycle, chain = islice(, from_inclusive, to_exclusive, step_size) ``` -### Examples -#### Reads input until it reaches an empty line: -```python -for line in iter(input, ''): - ... -``` - -#### Same, but prints a message every time: -```python -from functools import partial -for line in iter(partial(input, 'Please enter value: '), ''): - ... -``` - -#### Skips first item: -```python -next() -for element in : - ... -``` - Generator ---------