[issue29030] argparse: choices override metavar

Martin Panter report at bugs.python.org
Sun Apr 9 22:56:10 EDT 2017


Martin Panter added the comment:

I think the documentation should be fixed to say choices overrides dest, and the implementation should be left alone. Even if the documentation is not a “formal module reference”, it should not be wrong or misleading.

Also, Issue 14039 is related, about “metavar” with “add_subparsers”.

----------
nosy: +martin.panter
versions: +Python 2.7

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


More information about the Python-bugs-list mailing list