summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorkakakaya <kakakaya@users.noreply.github.com>2016-12-03 19:46:32 +0900
committerven <vendethiel@hotmail.fr>2016-12-03 11:46:32 +0100
commitc701931feebc96d8b4215dd66e268fab2c1bbacf (patch)
tree0aade1b6e19b805f7dc2e79c622336e7cac261ee
parent7c16ec5ae15ca3d29354179b33f290fb439f434c (diff)
[python3/en] fixed "StopIterator", no such Exception (#2591)
* [python3/en] Add empty tuple to "False if evaluated" list * [python3/en] Fixed "StopIterator Exception" - no such exception
-rw-r--r--python3.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/python3.html.markdown b/python3.html.markdown
index 04d103f4..3821d84f 100644
--- a/python3.html.markdown
+++ b/python3.html.markdown
@@ -491,7 +491,7 @@ next(our_iterator) # => "one"
next(our_iterator) # => "two"
next(our_iterator) # => "three"
-# After the iterator has returned all of its data, it gives you a StopIterator Exception
+# After the iterator has returned all of its data, it gives you a StopIteration Exception
next(our_iterator) # Raises StopIteration
# You can grab all the elements of an iterator by calling list() on it.