Message193068
If the arg_parts are passed through the same cleanup as the 'text' (and empty strings removed), then
text = ' '.join(arg_parts)
In that case there would be no need to return both (text, arg_parts).
Parenthesis in the metavar could also create the problem addressed in this thread, except as noted in http://bugs.python.org/issue18349 that 'text' cleanup removes them.
nargs='*' or '+' or integer is another way in which [] could be introduced into the metavar. |
|
Date |
User |
Action |
Args |
2013-07-14 21:41:41 | paul.j3 | set | recipients:
+ paul.j3, bethard, eric.araujo, ysj.ray, xuanji, tshepang, htnieman, manveru, vajrasky |
2013-07-14 21:41:40 | paul.j3 | set | messageid: <1373838100.99.0.938643913287.issue11874@psf.upfronthosting.co.za> |
2013-07-14 21:41:40 | paul.j3 | link | issue11874 messages |
2013-07-14 21:41:40 | paul.j3 | create | |
|