MCPcopy Index your code
hub / github.com/tanelpoder/0xtools / __init__

Method __init__

lib/0xtools/argparse.py:982–994  ·  view source on GitHub ↗
(self,
                 option_strings,
                 dest,
                 default=None,
                 required=False,
                 help=None)

Source from the content-addressed store, hash-verified

980class _CountAction(Action):
981
982 def __init__(self,
983 option_strings,
984 dest,
985 default=None,
986 required=False,
987 help=None):
988 super(_CountAction, self).__init__(
989 option_strings=option_strings,
990 dest=dest,
991 nargs=0,
992 default=default,
993 required=required,
994 help=help)
995
996 def __call__(self, parser, namespace, values, option_string=None):
997 new_count = _ensure_value(namespace, self.dest, 0) + 1

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected