[issue2444] Adding __iter__ to class Values of module optparse

djc report at bugs.python.org
Sun Mar 23 14:30:52 CET 2008


djc <dirkjan at ochtman.nl> added the comment:

I'd like this. I had one instance where a number of options where
dynamically added to the OptionParser based on loadable modules, so that
I wanted to dynamically iterate over the Values returned as well.

----------
nosy: +djc

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2444>
__________________________________


More information about the Python-bugs-list mailing list