This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2011年04月09日 09:21 by gruszczy, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| 11807.patch | gruszczy, 2011年04月10日 16:19 | review | ||
| 11807_2.patch | gruszczy, 2011年12月18日 22:34 | review | ||
| 11807_3.patch | bethard, 2012年07月21日 21:59 | review | ||
| 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) * (Python committer) | 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) * (Python committer) | 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) (Python triager) | 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) (Python triager) | 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: + msg199100 |
| 2013年10月06日 16:56:21 | python-dev | set | status: open -> closed nosy: + python-dev messages: + msg199098 resolution: fixed stage: resolved |
| 2012年07月21日 21:59:40 | bethard | set | files:
+ 11807_3.patch messages: + msg166082 |
| 2012年02月26日 22:08:29 | gruszczy | set | messages: + msg154407 |
| 2011年12月18日 22:34:50 | gruszczy | set | files:
+ 11807_2.patch messages: + msg149806 |
| 2011年12月15日 13:04:10 | bethard | set | messages: + msg149548 |
| 2011年04月10日 16:19:51 | gruszczy | set | files:
+ 11807.patch keywords: + patch messages: + msg133472 |
| 2011年04月09日 09:22:12 | gruszczy | set | nosy:
+ bethard |
| 2011年04月09日 09:21:11 | gruszczy | create | |