[issue24419] In argparse action append_const doesn't work for positional arguments

py.user report at bugs.python.org
Thu Jun 18 04:16:56 CEST 2015


py.user added the comment:

paul j3 wrote:
> What are you trying to accomplish in the examples with a 'dest'?

To append all that constants to one list.

>From this:
Namespace(bar=[43], foo=[42])

To this:
Namespace(x=[43, 42])

----------

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


More information about the Python-bugs-list mailing list