Rename parameter to match the actual name in stdlib (#1959)

This commit is contained in:
Sergey Passichenko
2018-03-10 09:10:09 -08:00
committed by Guido van Rossum
parent 9d9527c94c
commit 00efd76861

View File

@@ -88,7 +88,7 @@ class AbstractEventLoop(metaclass=ABCMeta):
@abstractmethod
@coroutine
def run_in_executor(self, executor: Any,
callback: Callable[..., _T], *args: Any) -> Generator[Any, None, _T]: ...
func: Callable[..., _T], *args: Any) -> Generator[Any, None, _T]: ...
@abstractmethod
def set_default_executor(self, executor: Any) -> None: ...
# Network I/O methods returning Futures.