diff -r 897fe8fa14b5 Doc/tutorial/classes.rst --- a/Doc/tutorial/classes.rst Thu Oct 13 23:00:37 2016 -0700 +++ b/Doc/tutorial/classes.rst Fri Oct 14 10:59:57 2016 +0200 @@ -798,8 +798,9 @@ Iterators ========= -By now you have probably noticed that most container objects can be looped over -using a :keyword:`for` statement:: +By now you have probably noticed that built-in container objects (ie tuple, +list, dict, set, string ...) can be looped over using a :keyword:`for` +statement::s for element in [1, 2, 3]: print(element) @@ -871,6 +872,7 @@ s + .. _tut-generators: Generators