Éric Araujo added the comment: The Python 2 doc is alright, the same line says that d.__iter__() is equivalent to d.iterkeys(). ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue22918> _______________________________________