mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-04 04:25:50 +08:00
[argparse] Remove unused generic from _ActionsContainer.add_argument (#15585)
This commit is contained in:
+1
-1
@@ -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 = ...,
|
||||
|
||||
Reference in New Issue
Block a user