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

Method __call__

Lib/test/test_argparse.py:2228–2229  ·  view source on GitHub ↗
(self, parser, namespace, values, option_string=None)

Source from the content-addressed store, hash-verified

2226 class MyAction(argparse.Action):
2227
2228 def __call__(self, parser, namespace, values, option_string=None):
2229 setattr(namespace, self.dest, 'foo[%s]' % values)
2230
2231 def test(self):
2232

Callers

nothing calls this directly

Calls 1

setattrFunction · 0.85

Tested by

no test coverage detected