|
|
@ -283,7 +283,7 @@ Point(x=<span class="hljs-number">1</span>, y=<span class="hljs-number">2</span> |
|
|
|
<iter> = repeat(<el> [, times]) <span class="hljs-comment"># Returns element endlessly or 'times' times.</span> |
|
|
|
<iter> = cycle(<collection>) <span class="hljs-comment"># Repeats the sequence indefinitely.</span> |
|
|
|
</code></pre> |
|
|
|
<pre><code class="python language-python hljs"><iter> = chain(<coll.>, <coll.>, ...) <span class="hljs-comment"># Empties collections in order.</span> |
|
|
|
<pre><code class="python language-python hljs"><iter> = chain(<coll.>, <coll.> [, ...]) <span class="hljs-comment"># Empties collections in order.</span> |
|
|
|
<iter> = chain.from_iterable(<collection>) <span class="hljs-comment"># Empties collections inside a collection in order.</span> |
|
|
|
</code></pre> |
|
|
|
<pre><code class="python language-python hljs"><iter> = islice(<collection>, to_exclusive) |
|
|
|