Susan Tan added the comment: https://docs.python.org/2/tutorial/classes.html#iterators ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue22170> _______________________________________