Alternative iterator syntax
Aahz Maruch
aahz at panix.com
Wed Feb 21 11:43:02 EST 2001
In article <mailman.982769240.31345.python-list at python.org>,
Huaiyu Zhu <hzhu at users.sourceforge.net> wrote:
>
> [...]
I'm not sure where to put this question, so I'm just deleting all of
Huaiyu's text.
How does one get UserDict.keys (note: no parens here) to return an
iterator? Normally this will simply return a reference to the method.
--
--- Aahz (Copyright 2001 by aahz at pobox.com)
Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6
The problem with an ever-changing .sig is that you have to keep changing it
More information about the Python-list
mailing list