yield all entries of an iterable
cs at zip.com.au
Mon Oct 25 02:13:27 CEST 2010
On 25Oct2010 01:37, Stefan Schwarzer <sschwarzer at sschwarzer.net> wrote:
| From the question and the code snippet the OP gave I assumed
| he meant that there already was a sequence (i. e. linear
| structure) to begin with.
I suspected that was your interpretation.
| By the way, I think a well-known example of what you
| describe is `os.walk`.
Indeed. I'm surprised it didn't occur to me.
Cameron Simpson <cs at zip.com.au> DoD#743
The only thing necessary for the triumph of evil is for good men to do nothing.
- Edmund Burke (1729-1797)
More information about the Python-list