mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
argparse: fix for latest py39 (#4267)
https://github.com/python/typeshed/pull/4144 and https://github.com/python/cpython/pull/11478#pullrequestreview-423968410 resulted in the issue being fixed upstream. Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -290,7 +290,6 @@ if sys.version_info >= (3, 9):
|
||||
self,
|
||||
option_strings: Sequence[str],
|
||||
dest: str,
|
||||
const: None = ..., # unused in implementation
|
||||
default: Union[_T, str, None] = ...,
|
||||
type: Optional[Union[Callable[[Text], _T], Callable[[str], _T], FileType]] = ...,
|
||||
choices: Optional[Iterable[_T]] = ...,
|
||||
|
||||
Reference in New Issue
Block a user