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

Method __init__

Lib/argparse.py:1103–1121  ·  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

1101class _AppendConstAction(Action):
1102
1103 def __init__(self,
1104 option_strings,
1105 dest,
1106 const=None,
1107 default=None,
1108 required=False,
1109 help=None,
1110 metavar=None,
1111 deprecated=False):
1112 super(_AppendConstAction, self).__init__(
1113 option_strings=option_strings,
1114 dest=dest,
1115 nargs=0,
1116 const=const,
1117 default=default,
1118 required=required,
1119 help=help,
1120 metavar=metavar,
1121 deprecated=deprecated)
1122
1123 def __call__(self, parser, namespace, values, option_string=None):
1124 items = 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