[issue2444] Adding __iter__ to class Values of module optparse

Steven Bethard report at bugs.python.org
Sun Mar 23 22:37:18 CET 2008


Steven Bethard <steven.bethard at gmail.com> added the comment:

Why can't you just iterate over ``vars(opts)``?

----------
nosy: +bethard

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


More information about the Python-bugs-list mailing list