In a nutshell, an object is iterable if it is either a physically stored sequence in memory, or an object that generates one item at a time in the context of an iteration operation—a sort of "virtual" sequence. — (Mark Lutz, Learning Python , (5ème édition), O'Reilly, 2013, lêmbëtï 123)