From 53fde2ddf7aba1fd9b0dbd04207f8d8b3b6b1848 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Mon, 11 Jun 2018 14:04:45 -0700 Subject: [PATCH] make timeout argument to Connection.poll Optional (#2122) Fixes #2094 --- stdlib/3/multiprocessing/connection.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/multiprocessing/connection.pyi b/stdlib/3/multiprocessing/connection.pyi index 2bad30958..e12cba6cb 100644 --- a/stdlib/3/multiprocessing/connection.pyi +++ b/stdlib/3/multiprocessing/connection.pyi @@ -28,7 +28,7 @@ class Listener: class Connection: def close(self) -> None: ... def fileno(self) -> int: ... - def poll(self, timeout: float = ...) -> bool: ... + def poll(self, timeout: Optional[float] = ...) -> bool: ... def recv(self) -> Any: ... def recv_bytes(self, maxlength: Optional[int] = ...) -> bytes: ... def recv_bytes_into(self, buf: Any, offset: int = ...) -> int: ...