Skip to content

Commit 64e1e9e

Browse files
committed
Iterator
1 parent 52f732f commit 64e1e9e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ from itertools import count, repeat, cycle, chain, islice
216216

217217
```python
218218
<iter> = islice(<coll>, to_exclusive) # Only returns first 'to_exclusive' elements.
219-
<iter> = islice(<coll>, from_inclusive, …) # `to_exclusive, +step_size`.
219+
<iter> = islice(<coll>, from_inclusive, …) # `to_exclusive, +step_size`. Indices can be None.
220220
```
221221

222222

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
<body>
5656
<header>
57-
<aside>July 28, 2022</aside>
57+
<aside>July 29, 2022</aside>
5858
<a href="https://gto76.github.io" rel="author">Jure Šorn</a>
5959
</header>
6060

@@ -231,7 +231,7 @@
231231
&lt;iter&gt; = chain.from_iterable(&lt;coll&gt;) <span class="hljs-comment"># Empties collections inside a collection in order.</span>
232232
</code></pre>
233233
<pre><code class="python language-python hljs">&lt;iter&gt; = islice(&lt;coll&gt;, to_exclusive) <span class="hljs-comment"># Only returns first 'to_exclusive' elements.</span>
234-
&lt;iter&gt; = islice(&lt;coll&gt;, from_inclusive, …) <span class="hljs-comment"># `to_exclusive, +step_size`.</span>
234+
&lt;iter&gt; = islice(&lt;coll&gt;, from_inclusive, …) <span class="hljs-comment"># `to_exclusive, +step_size`. Indices can be None.</span>
235235
</code></pre>
236236
<div><h2 id="generator"><a href="#generator" name="generator">#</a>Generator</h2><ul>
237237
<li><strong>Any function that contains a yield statement returns a generator.</strong></li>
@@ -2905,7 +2905,7 @@ <h3 id="format-2">Format</h3><div><h4 id="forstandardtypesizesandmanualalignment
29052905

29062906

29072907
<footer>
2908-
<aside>July 28, 2022</aside>
2908+
<aside>July 29, 2022</aside>
29092909
<a href="https://gto76.github.io" rel="author">Jure Šorn</a>
29102910
</footer>
29112911

0 commit comments

Comments
 (0)