mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Remove duplicate type from ArgumentParser.add_argument (#6652)
This commit is contained in:
@@ -66,7 +66,7 @@ class _ActionsContainer:
|
||||
nargs: int | str = ...,
|
||||
const: Any = ...,
|
||||
default: Any = ...,
|
||||
type: Callable[[str], _T] | Callable[[str], _T] | FileType = ...,
|
||||
type: Callable[[str], _T] | FileType = ...,
|
||||
choices: Iterable[_T] | None = ...,
|
||||
required: bool = ...,
|
||||
help: str | None = ...,
|
||||
|
||||
Reference in New Issue
Block a user