MCPcopy Index your code
hub / github.com/python/cpython / __init__

Method __init__

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

1252class _VersionAction(Action):
1253
1254 def __init__(self,
1255 option_strings,
1256 version=None,
1257 dest=SUPPRESS,
1258 default=SUPPRESS,
1259 help=None,
1260 deprecated=False):
1261 if help is None:
1262 help = _("show program's version number and exit")
1263 super(_VersionAction, self).__init__(
1264 option_strings=option_strings,
1265 dest=dest,
1266 default=default,
1267 nargs=0,
1268 help=help)
1269 self.version = version
1270
1271 def __call__(self, parser, namespace, values, option_string=None):
1272 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