mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +08:00
committed by
Sebastian Rittau
parent
53500c8750
commit
020449a1ed
@@ -56,7 +56,7 @@ class _ActionsContainer:
|
||||
nargs: Union[int, Text] = ...,
|
||||
const: Any = ...,
|
||||
default: Any = ...,
|
||||
type: Union[Callable[[str], _T], FileType] = ...,
|
||||
type: Union[Callable[[Text], _T], Callable[[str], _T], FileType] = ...,
|
||||
choices: Iterable[_T] = ...,
|
||||
required: bool = ...,
|
||||
help: Optional[Text] = ...,
|
||||
@@ -254,7 +254,7 @@ class Action(_AttributeHolder):
|
||||
nargs: Optional[Union[int, Text]] = ...,
|
||||
const: Any = ...,
|
||||
default: Any = ...,
|
||||
type: Optional[Union[Callable[[str], _T], FileType]] = ...,
|
||||
type: Optional[Union[Callable[[Text], _T], Callable[[str], _T], FileType]] = ...,
|
||||
choices: Optional[Iterable[_T]] = ...,
|
||||
required: bool = ...,
|
||||
help: Optional[Text] = ...,
|
||||
|
||||
Reference in New Issue
Block a user