Method
__init__
(self, name, aliases, help)
Source from the content-addressed store, hash-verified
| 1283 | class _ChoicesPseudoAction(Action): |
| 1284 | |
| 1285 | def __init__(self, name, aliases, help): |
| 1286 | metavar = dest = name |
| 1287 | if aliases: |
| 1288 | metavar += ' (%s)' % ', '.join(aliases) |
| 1289 | sup = super(_SubParsersAction._ChoicesPseudoAction, self) |
| 1290 | sup.__init__(option_strings=[], dest=dest, help=help, |
| 1291 | metavar=metavar) |
| 1292 | |
| 1293 | def __init__(self, |
| 1294 | option_strings, |
Callers
nothing calls this directly
Tested by
no test coverage detected