[issue11076] Iterable argparse Namespace

Virgil Dupras report at bugs.python.org
Sat Feb 5 12:02:30 CET 2011


Virgil Dupras <hsoft at hardcoded.net> added the comment:

I didn't know about vars() (well, I knew it existed, but never was quite sure what it did).

Given that I'm not a Python newbie, I'm guessing I'm not alone in this situation. Maybe that instead of making the Namespace iterable, we should just add an example usage of vars() in argparse's documentation?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11076>
_______________________________________


More information about the Python-bugs-list mailing list