Message231529
https://docs.python.org/3/reference/datamodel#object.__iter__
> This method should return a new iterator object that can iterate over all the objects
> in the container. For mappings, it should iterate over the keys of the container, and
> should also be made available as the method keys().
In 3.x, d.__iter__() is not equivalent to d.keys() but to iter(d.keys()). |
|
Date |
User |
Action |
Args |
2014-11-22 20:49:39 | eric.araujo | set | recipients:
+ eric.araujo, docs@python |
2014-11-22 20:49:39 | eric.araujo | set | messageid: <1416689379.36.0.290921977035.issue22918@psf.upfronthosting.co.za> |
2014-11-22 20:49:39 | eric.araujo | link | issue22918 messages |
2014-11-22 20:49:39 | eric.araujo | create | |
|