mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-28 05:42:10 +08:00
Consistently use '= ...' for optional parameters.
This commit is contained in:
@@ -10,7 +10,7 @@ _AnyCallable = Callable[..., Any]
|
||||
|
||||
_T = TypeVar("_T")
|
||||
def reduce(function: Callable[[_T], _T],
|
||||
sequence: Iterator[_T], initial: Optional[_T] = None) -> _T: ...
|
||||
sequence: Iterator[_T], initial: Optional[_T] = ...) -> _T: ...
|
||||
|
||||
WRAPPER_ASSIGNMENTS = ... # type: Sequence[str]
|
||||
WRAPPER_UPDATES = ... # type: Sequence[str]
|
||||
|
||||
Reference in New Issue
Block a user