mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Correct type of formatter_class arg to ArgParse().
This commit is contained in:
@@ -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 = ...,
|
||||
|
||||
Reference in New Issue
Block a user