pythonic tree-walking idioms
aahz at panix.com
Fri May 18 13:53:03 CEST 2001
In article <3b04d42e$1_2 at newsfeeds>, Shak <raskol at hushmail.com> wrote:
>Thanks... appreciate all the responses... however I didn't realize that
>"yield" was a python keyword... seems ruby-like to me...
It's not, yet. It's part of an experimental patch on Python. However,
you can probably achieve a similar effect with little effort in current
CVS Python and iterators.
--- Aahz <*> (Copyright 2001 by aahz at pobox.com)
Androgynous poly kinky vanilla queer het Pythonista http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6
"It's such a fine line between stupid and clever." --David St. Hubbins
More information about the Python-list