[issue18349] argparse usage should preserve () in metavars such as range(20)
paul j3
report at bugs.python.org
Mon Jul 15 09:15:36 CEST 2013
paul j3 added the comment:
This issue should also preserve a metavar like: '(one)two', i.e. '(' at the start.
In http://bugs.python.org/issue10984 these _re replacements are applied to individual action strings as well as the whole usage line. So if () are to be removed from '[-h] (-y)', they should also be removed from '(-y)'.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18349>
_______________________________________
More information about the Python-bugs-list
mailing list