[issue24647] Document argparse.REMAINDER as being equal to "..."

2016-05-29 Thread R. David Murray
R. David Murray added the comment: I would say nargs='...' is borderline...it's meaning is *fairly* intuitive, but unlike the other three it does not, as paul.j3 points out, have a regex (or shell) counterpart. I think we should respect the original author's decision in this case and leave we

[issue24647] Document argparse.REMAINDER as being equal to "..."

2015-08-03 Thread paul j3
paul j3 added the comment: Also, argparse.PARSER is '+...' '? * +' have closely matched analogs in regex patterns. '...' and '+...' do not. So Python users will have an intuitive idea of what "nargs='*'" means. "nargs='...'" is not so obvious. As a general rule, the document does not expo

[issue24647] Document argparse.REMAINDER as being equal to "..."

2015-07-24 Thread Ned Deily
Changes by Ned Deily : -- assignee: -> docs@python components: +Documentation -Library (Lib) nosy: +bethard, docs@python versions: +Python 2.7, Python 3.6 ___ Python tracker ___

[issue24647] Document argparse.REMAINDER as being equal to "..."

2015-07-16 Thread Antony Lee
New submission from Antony Lee: Currently the argparse docs mention the special values "+", "*" and "?" by their actual values instead of argparse.{ONE_OR_MORE,ZERO_OR_MORE,OPTIONAL}, but argparse.REMAINDER is mentioned as is. It seems easier to just use its actual value ("...") in the docs a