The iteration protocol applies directly to a sequence or mapping type.

Sources

Lutz, Mark. Learning Python. Third ed., O’Reilly, 2008. Chapter 4, “Introducing Python Object Types.”