Method: pylint.config.argument._ExtendArgument.__init__
Calls: 30, Exceptions: 0, Paths: 1Back
Path 1: 30 calls (1.0)
['--class', '-c'] (30)
'extend' (30)
[] (30)
'csv' (30)
'
'create a class diagram with all classes related to
False (30)
None (30)
None (30)
'classes' (30)
1def __init__(
2 self,
3 *,
4 flags: list[str],
5 action: Literal["extend"],
6 default: _ArgumentTypes,
7 arg_type: str,
8 metavar: str,
9 arg_help: str,
10 hide_help: bool,
11 section: str | None,
12 choices: list[str] | None,
13 dest: str | None,
14 ) -> None:
15 # The extend action is included in the stdlib from 3.8+
16 if PY38_PLUS:
17 action_class = argparse._ExtendAction
18 else:
19 action_class = _ExtendAction # type: ignore[assignment]
20
21 self.dest = dest
22 """The destination of the argument."""
23
24 super().__init__(
25 flags=flags,
26 action=action_class,
27 default=default,
28 arg_type=arg_type,
29 choices=choices,
30 arg_help=arg_help,
31 metavar=metavar,
32 hide_help=hide_help,
33 section=section,
34 )