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

Method __init__

Lib/argparse.py:1178–1193  ·  view source on GitHub ↗
(self,
                 option_strings,
                 version=None,
                 dest=SUPPRESS,
                 default=SUPPRESS,
                 help=None,
                 deprecated=False)

Source from the content-addressed store, hash-verified

1176class _VersionAction(Action):
1177
1178 def __init__(self,
1179 option_strings,
1180 version=None,
1181 dest=SUPPRESS,
1182 default=SUPPRESS,
1183 help=None,
1184 deprecated=False):
1185 if help is None:
1186 help = _("show program's version number and exit")
1187 super(_VersionAction, self).__init__(
1188 option_strings=option_strings,
1189 dest=dest,
1190 default=default,
1191 nargs=0,
1192 help=help)
1193 self.version = version
1194
1195 def __call__(self, parser, namespace, values, option_string=None):
1196 version = self.version

Callers

nothing calls this directly

Calls 3

superClass · 0.85
_Function · 0.50
__init__Method · 0.45

Tested by

no test coverage detected