Raymond Hettinger added the comment:
I think the first half of the sentence is enough: “For mappings, it should iterate over the keys of the container.”
That should do it :-)
---------- nosy: +rhettinger
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue22918 _______________________________________