Created on 2011-04-09 09:21 by gruszczy, last changed 2022-04-11 14:57 by admin. This issue is now closed.
Messages (8) |
|
|
msg133379 - (view) |
Author: Filip Gruszczyński (gruszczy) |
Date: 2011-04-09 09:21 |
In argparse documentation parametres of add_subparsers are not listed. And yet there are some really useful parametres like parser_class. It would be useful, it they were described there well and one wouldn't have to look into the code to find them :-) I'll be happy to provide documentation patch tomorrow. |
|
|
msg133472 - (view) |
Author: Filip Gruszczyński (gruszczy) |
Date: 2011-04-10 16:19 |
Here is a patch for this. I am not much of technical writer, so please be patient with me. I tried to provide all the information about parameters, that can be inferred from the code and experimenting. I have left out one parameter - action - because I don't see any use of it for a potential user and potential description seemed very complicated. I'll be happy to work further on the patch, if someone is willing to tutor me a little. |
|
|
msg149548 - (view) |
Author: Steven Bethard (bethard) *  |
Date: 2011-12-15 13:04 |
Looks good. A few minor comments (click "review" by the patch). |
|
|
msg149806 - (view) |
Author: Filip Gruszczyński (gruszczy) |
Date: 2011-12-18 22:34 |
Fixed patch. |
|
|
msg154407 - (view) |
Author: Filip Gruszczyński (gruszczy) |
Date: 2012-02-26 22:08 |
Bump! I would like to remind about this issue and patch. |
|
|
msg166082 - (view) |
Author: Steven Bethard (bethard) *  |
Date: 2012-07-21 21:59 |
Looks good. There was one typo in "parametres" that I've fixed. Should be ready to apply. |
|
|
msg199098 - (view) |
Author: Roundup Robot (python-dev)  |
Date: 2013-10-06 16:56 |
New changeset b930b4e67c8a by Georg Brandl in branch '3.3': Closes #11807: document argparse add_subparsers method better. http://hg.python.org/cpython/rev/b930b4e67c8a |
|
|
msg199100 - (view) |
Author: Roundup Robot (python-dev)  |
Date: 2013-10-06 16:56 |
New changeset d5027e489c25 by Georg Brandl in branch '2.7': Closes #11807: document argparse add_subparsers method better. http://hg.python.org/cpython/rev/d5027e489c25 |
|
|
History |
|
|
|
Date |
User |
Action |
Args |
2022-04-11 14:57:15 |
admin |
set |
github: 56016 |
2013-10-06 16:56:28 |
python-dev |
set |
messages: + |
2013-10-06 16:56:21 |
python-dev |
set |
status: open -> closednosy: + python-devmessages: + resolution: fixedstage: resolved |
2012-07-21 21:59:40 |
bethard |
set |
files: + 11807_3.patchmessages: + |
2012-02-26 22:08:29 |
gruszczy |
set |
messages: + |
2011-12-18 22:34:50 |
gruszczy |
set |
files: + 11807_2.patchmessages: + |
2011-12-15 13:04:10 |
bethard |
set |
messages: + |
2011-04-10 16:19:51 |
gruszczy |
set |
files: + 11807.patchkeywords: + patchmessages: + |
2011-04-09 09:22:12 |
gruszczy |
set |
nosy: + bethard |
2011-04-09 09:21:11 |
gruszczy |
create |
|