diff options
| author | Raymond Hettinger <python@rcn.com> | 2003-06-25 19:03:22 (GMT) |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2003-06-25 19:03:22 (GMT) |
| commit | 2dd8c426382d620cb5aa20cf75584a174a9aacb8 (patch) | |
| tree | 407f81c06b324dd984d98bc5bb34a6ee8cd2b580 /Lib/compiler/syntax.py | |
| parent | 03ec6d538af8c0f0fc49b300b0d48b98704d8f9b (diff) | |
| download | cpython-2dd8c426382d620cb5aa20cf75584a174a9aacb8.zip cpython-2dd8c426382d620cb5aa20cf75584a174a9aacb8.tar.gz cpython-2dd8c426382d620cb5aa20cf75584a174a9aacb8.tar.bz2 | |
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.
Diffstat (limited to 'Lib/compiler/syntax.py')
0 files changed, 0 insertions, 0 deletions
