diff --git a/stdlib/2/multiprocessing/pool.pyi b/stdlib/2/multiprocessing/pool.pyi index e444240b4..57a628d33 100644 --- a/stdlib/2/multiprocessing/pool.pyi +++ b/stdlib/2/multiprocessing/pool.pyi @@ -8,8 +8,8 @@ from typing import ( _T = TypeVar('_T', bound='Pool') class AsyncResult(): - def get(self, timeout: float = ...) -> Any: ... - def wait(self, timeout: float = ...) -> None: ... + def get(self, timeout: Optional[float] = ...) -> Any: ... + def wait(self, timeout: Optional[float] = ...) -> None: ... def ready(self) -> bool: ... def successful(self) -> bool: ... diff --git a/stdlib/3/multiprocessing/pool.pyi b/stdlib/3/multiprocessing/pool.pyi index 311f900d5..c641e141a 100644 --- a/stdlib/3/multiprocessing/pool.pyi +++ b/stdlib/3/multiprocessing/pool.pyi @@ -10,8 +10,8 @@ from typing import ( _T = TypeVar('_T', bound='Pool') class AsyncResult(): - def get(self, timeout: float = ...) -> Any: ... - def wait(self, timeout: float = ...) -> None: ... + def get(self, timeout: Optional[float] = ...) -> Any: ... + def wait(self, timeout: Optional[float] = ...) -> None: ... def ready(self) -> bool: ... def successful(self) -> bool: ...