From 8c59f8f58e743e21600574fff5f5b7da5df45639 Mon Sep 17 00:00:00 2001 From: Katherine Lai Date: Sun, 10 Apr 2016 20:46:37 -0700 Subject: [PATCH] Fix select stub for 2.7 (timeout should be optionally present and float) (#135) --- stdlib/2.7/select.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/2.7/select.pyi b/stdlib/2.7/select.pyi index f17b22dae..6af68467a 100644 --- a/stdlib/2.7/select.pyi +++ b/stdlib/2.7/select.pyi @@ -66,7 +66,7 @@ POLLWRBAND = ... # type: int POLLWRNORM = ... # type: int def poll() -> epoll: ... -def select(rlist, wlist, xlist, timeout: Optional[int]) -> Tuple[List, List, List]: ... +def select(rlist, wlist, xlist, timeout: float = None) -> Tuple[List, List, List]: ... class error(Exception): ...