From 8bf790086aa26c1b2d45185511af7949ee0ef8c8 Mon Sep 17 00:00:00 2001 From: KotlinIsland <65446343+KotlinIsland@users.noreply.github.com> Date: Thu, 2 Apr 2026 16:03:00 +1000 Subject: [PATCH] [argparse] Remove unused generic from `_ActionsContainer.add_argument` (#15585) --- stdlib/argparse.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/argparse.pyi b/stdlib/argparse.pyi index 57650f53c..06b58ebaf 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 = ...,