Method
__init__
(self,
option_strings,
dest,
const=None,
default=None,
required=False,
help=None,
metavar=None)
Source from the content-addressed store, hash-verified
| 962 | class _StoreConstAction(Action): |
| 963 | |
| 964 | def __init__(self, |
| 965 | option_strings, |
| 966 | dest, |
| 967 | const=None, |
| 968 | default=None, |
| 969 | required=False, |
| 970 | help=None, |
| 971 | metavar=None): |
| 972 | super(_StoreConstAction, self).__init__( |
| 973 | option_strings=option_strings, |
| 974 | dest=dest, |
| 975 | nargs=0, |
| 976 | const=const, |
| 977 | default=default, |
| 978 | required=required, |
| 979 | help=help) |
| 980 | |
| 981 | def __call__(self, parser, namespace, values, option_string=None): |
| 982 | setattr(namespace, self.dest, self.const) |
Callers
nothing calls this directly
Tested by
no test coverage detected