MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __init__

Method __init__

tools/python-3.11.9-amd64/Lib/argparse.py:1086–1098  ·  view source on GitHub ↗
(self,
                 option_strings,
                 dest,
                 default=None,
                 required=False,
                 help=None)

Source from the content-addressed store, hash-verified

1084class _CountAction(Action):
1085
1086 def __init__(self,
1087 option_strings,
1088 dest,
1089 default=None,
1090 required=False,
1091 help=None):
1092 super(_CountAction, self).__init__(
1093 option_strings=option_strings,
1094 dest=dest,
1095 nargs=0,
1096 default=default,
1097 required=required,
1098 help=help)
1099
1100 def __call__(self, parser, namespace, values, option_string=None):
1101 count = getattr(namespace, self.dest, None)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected