Fix select stub for 2.7 (timeout should be optionally present and float) (#135)

This commit is contained in:
Katherine Lai
2016-04-10 20:46:37 -07:00
committed by Guido van Rossum
parent 4f483dc314
commit 8c59f8f58e

View File

@@ -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): ...