From d3953913f1d7ea1a7efbc87b59f575ffa8ed557f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sat, 30 Mar 2019 12:53:56 +0100 Subject: [PATCH] Iterator --- index.html | 1 - 1 file changed, 1 deletion(-) diff --git a/index.html b/index.html index a0eb613..9c72344 100644 --- a/index.html +++ b/index.html @@ -273,7 +273,6 @@ Point(x=1, y=2 ('x', 'y')

#Iterator

-

In this cheatsheet '<collection>' can also mean an iterator.

from itertools import count, repeat, cycle, chain, islice
 
<iter> = iter(<collection>)