From 9a16b021870b87f85c86e8cb0a034151d5060de2 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Fri, 26 Jun 2020 03:55:23 -0700 Subject: [PATCH] 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 <> --- stdlib/2and3/argparse.pyi | 1 - 1 file changed, 1 deletion(-) diff --git a/stdlib/2and3/argparse.pyi b/stdlib/2and3/argparse.pyi index 20202f17b..c218903fc 100644 --- a/stdlib/2and3/argparse.pyi +++ b/stdlib/2and3/argparse.pyi @@ -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]] = ...,