mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Fix select stub for 2.7 (timeout should be optionally present and float) (#135)
This commit is contained in:
committed by
Guido van Rossum
parent
4f483dc314
commit
8c59f8f58e
@@ -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): ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user