From 26292fcc42b5b3f08b3210d325fc674c73155603 Mon Sep 17 00:00:00 2001 From: KotlinIsland <65446343+kotlinisland@users.noreply.github.com> Date: Wed, 1 Apr 2026 20:12:30 +1000 Subject: [PATCH] remove unused generic from `argparse._ActionsContainer.add_argument` --- stdlib/argparse.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/argparse.pyi b/stdlib/argparse.pyi index 066896603914..1a2bb7015603 100644 --- a/stdlib/argparse.pyi +++ b/stdlib/argparse.pyi @@ -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 = ...,