[issue11076] Iterable argparse Namespace

Hobs report at bugs.python.org
Tue Nov 13 01:52:34 CET 2012


Hobs added the comment:

Seems like a great idea. `foo(**dict(args))` is very useful.

I tested `foo(**dict(iter(o.__dict__.items())))` on python 2.7 Mac OSX for my foo and it worked well.

----------
nosy: +Hobson.Lane

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


More information about the Python-bugs-list mailing list