1 """Stub file for the '_functools' module."""
\r
3 from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Tuple, overload
\r
9 def reduce(function: Callable[[_T, _T], _T],
\r
10 sequence: Iterable[_T]) -> _T: ...
\r
12 def reduce(function: Callable[[_T, _S], _T],
\r
13 sequence: Iterable[_S], initial: _T) -> _T: ...
\r
15 class partial(object):
\r
16 func = ... # type: Callable[..., Any]
\r
17 args = ... # type: Tuple[Any, ...]
\r
18 keywords = ... # type: Dict[str, Any]
\r
19 def __init__(self, func: Callable[..., Any], *args: Any, **kwargs: Any) -> None: ...
\r
20 def __call__(self, *args: Any, **kwargs: Any) -> Any: ...
\r