MCPcopy Index your code
hub / github.com/RustPython/RustPython / __init__

Method __init__

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

Source from the content-addressed store, hash-verified

1130class _CountAction(Action):
1131
1132 def __init__(self,
1133 option_strings,
1134 dest,
1135 default=None,
1136 required=False,
1137 help=None,
1138 deprecated=False):
1139 super(_CountAction, self).__init__(
1140 option_strings=option_strings,
1141 dest=dest,
1142 nargs=0,
1143 default=default,
1144 required=required,
1145 help=help,
1146 deprecated=deprecated)
1147
1148 def __call__(self, parser, namespace, values, option_string=None):
1149 count = getattr(namespace, self.dest, None)

Callers

nothing calls this directly

Calls 2

superClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected