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

Method __init__

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

Source from the content-addressed store, hash-verified

962class _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

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected