MCPcopy Index your code
hub / github.com/python/cpython / __init__

Method __init__

Lib/argparse.py:1076–1093  ·  view source on GitHub ↗
(self,
                 option_strings,
                 dest,
                 const=None,
                 default=None,
                 required=False,
                 help=None,
                 metavar=None,
                 deprecated=False)

Source from the content-addressed store, hash-verified

1074class _StoreConstAction(Action):
1075
1076 def __init__(self,
1077 option_strings,
1078 dest,
1079 const=None,
1080 default=None,
1081 required=False,
1082 help=None,
1083 metavar=None,
1084 deprecated=False):
1085 super(_StoreConstAction, self).__init__(
1086 option_strings=option_strings,
1087 dest=dest,
1088 nargs=0,
1089 const=const,
1090 default=default,
1091 required=required,
1092 help=help,
1093 deprecated=deprecated)
1094
1095 def __call__(self, parser, namespace, values, option_string=None):
1096 setattr(namespace, self.dest, self.const)

Callers

nothing calls this directly

Calls 2

superClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected