Method
__init__
(self, name, aliases, help)
Source from the content-addressed store, hash-verified
| 1207 | class _ChoicesPseudoAction(Action): |
| 1208 | |
| 1209 | def __init__(self, name, aliases, help): |
| 1210 | metavar = dest = name |
| 1211 | if aliases: |
| 1212 | metavar += ' (%s)' % ', '.join(aliases) |
| 1213 | sup = super(_SubParsersAction._ChoicesPseudoAction, self) |
| 1214 | sup.__init__(option_strings=[], dest=dest, help=help, |
| 1215 | metavar=metavar) |
| 1216 | |
| 1217 | def __init__(self, |
| 1218 | option_strings, |
Callers
nothing calls this directly
Tested by
no test coverage detected