Message238931
| Author |
paul.j3 |
| Recipients |
derks, paul.j3 |
| Date |
2015年03月22日.20:01:52 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1427054512.99.0.844230046326.issue23487@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It certainly looks like a documentation issue. `action` doesn't make sense here. `add_subparsers` normally creates an Action of type `_SubParsersAction`.
'action' for normal 'add_argument' command defines the Action type created at that time. Conceivably a user might want to use a customized '_SubParsersAction', but it shouldn't be as easy as just specifying 'action' in the 'add_subparsers' command.
And specifying something other than the default 'store' action class for the arguments of the parsers doesn't make sense.
But I'm puzzled by the error message you got. I'll have to run some tests to figure out what is going on. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年03月22日 20:01:53 | paul.j3 | set | recipients:
+ paul.j3, derks |
| 2015年03月22日 20:01:52 | paul.j3 | set | messageid: <1427054512.99.0.844230046326.issue23487@psf.upfronthosting.co.za> |
| 2015年03月22日 20:01:52 | paul.j3 | link | issue23487 messages |
| 2015年03月22日 20:01:52 | paul.j3 | create |
|