The formal argument for **kwargs.
(self)
| 1983 | return None |
| 1984 | |
| 1985 | def kw_arg(self) -> FormalArgument | None: |
| 1986 | """The formal argument for **kwargs.""" |
| 1987 | for position, (type, kind) in enumerate(zip(self.arg_types, self.arg_kinds)): |
| 1988 | if kind == ARG_STAR2: |
| 1989 | return FormalArgument(None, position, type, False) |
| 1990 | return None |
| 1991 | |
| 1992 | def formal_arguments(self, include_star_args: bool = False) -> list[FormalArgument]: |
| 1993 | """Yields the formal arguments corresponding to this callable, ignoring *arg and **kwargs. |