[argparse] Remove unused generic from _ActionsContainer.add_argument (#15585)

This commit is contained in:
KotlinIsland
2026-04-02 16:03:00 +10:00
committed by GitHub
parent 888b9ff4a2
commit 8bf790086a
+1 -1
View File
@@ -83,7 +83,7 @@ class _ActionsContainer:
const: Any = ...,
default: Any = ...,
type: _ActionType = ...,
choices: Iterable[_T] | None = ...,
choices: Iterable[Any] | None = ..., # choices must match the type specified
required: bool = ...,
help: str | None = ...,
metavar: str | tuple[str, ...] | None = ...,