[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 
well enough alone.

--
nosy: +r.david.murray
resolution:  -> rejected
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 expose the values of module constants.

--
nosy: +paul.j3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24647
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2015-07-24 Thread Ned Deily

Changes by Ned Deily n...@acm.org:


--
assignee:  - docs@python
components: +Documentation -Library (Lib)
nosy: +bethard, docs@python
versions: +Python 2.7, Python 3.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24647
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 as well.

--
components: Library (Lib)
messages: 246824
nosy: Antony.Lee
priority: normal
severity: normal
status: open
title: Document argparse.REMAINDER as being equal to ...
versions: Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24647
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com