function
class function
Methods
10
arg_kind[i: Literal[int]](F) -> Literal[str]
Defined in
internal.staticReturn the parameter kind at the same index as args(F).
Kinds are positional_only, positional_or_keyword, var_positional,
keyword_only, and var_keyword. Generic parameters are skipped;
bound methods and partials retain the underlying function's parameters.
An out-of-range index is a compile-time error.