Correct type of formatter_class arg to ArgParse().

This commit is contained in:
Guido van Rossum
2016-07-06 11:42:57 -07:00
parent 7bef3added
commit 5088131e5a

View File

@@ -2,7 +2,7 @@
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Callable, Dict, List, IO, Iterable, Sequence, Union
from typing import Any, Callable, Dict, List, IO, Iterable, Sequence, Type, Union
SUPPRESS = ... # type: Any
OPTIONAL = ... # type: Any
@@ -172,7 +172,7 @@ class ArgumentParser(_AttributeHolder, _ActionsContainer):
epilog: str = ...,
version: None = ...,
parents: Iterable[ArgumentParser] = ...,
formatter_class: HelpFormatter = ...,
formatter_class: Type[HelpFormatter] = ...,
prefix_chars: str = ...,
fromfile_prefix_chars: str = ...,
argument_default: str = ...,