From 74427684c4e1c9ef3a072af03bcce47e5ac40817 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Thu, 25 Jul 2019 00:47:02 +0200 Subject: [PATCH] Iterator --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b07744b..516098f 100644 --- a/README.md +++ b/README.md @@ -187,7 +187,7 @@ for i, el in enumerate( [, i_start]): Iterator -------- ```python - = iter() # Calling `iter()` returns unmodified iterator. + = iter() # `iter()` returns unmodified iterator. = iter(, to_exclusive) # Sequence of return values until 'to_exclusive'. = next( [, default]) # Raises StopIteration or returns 'default' on end. ``` diff --git a/index.html b/index.html index 05e99f3..fd0517d 100644 --- a/index.html +++ b/index.html @@ -337,7 +337,7 @@ to_exclusive = <range>.stop ... -

#Iterator

<iter> = iter(<collection>)                 # Calling `iter(<iter>)` returns unmodified iterator.
+

#Iterator

<iter> = iter(<collection>)                 # `iter(<iter>)` returns unmodified iterator.
 <iter> = iter(<function>, to_exclusive)     # Sequence of return values until 'to_exclusive'.
 <el>   = next(<iter> [, default])           # Raises StopIteration or returns 'default' on end.