commit | 2dd8c426382d620cb5aa20cf75584a174a9aacb8 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Wed Jun 25 19:03:22 2003 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Wed Jun 25 19:03:22 2003 +0000 |
tree | 407f81c06b324dd984d98bc5bb34a6ee8cd2b580 | |
parent | 03ec6d538af8c0f0fc49b300b0d48b98704d8f9b [diff] |
SF bug #696777: How to make a class iterable using a member generator. * Added a note that a container class can implement the iterator protocol by defining its __iter__() method as a generator.