From c701931feebc96d8b4215dd66e268fab2c1bbacf Mon Sep 17 00:00:00 2001 From: kakakaya Date: Sat, 3 Dec 2016 19:46:32 +0900 Subject: [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 --- python3.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.3