@@ -44,11 +44,13 @@ class IocpProactor:
44
44
def set_loop (self , loop : events .AbstractEventLoop ) -> None : ...
45
45
def select (self , timeout : Optional [int ] = ...) -> List [futures .Future [Any ]]: ...
46
46
def recv (self , conn : socket .socket , nbytes : int , flags : int = ...) -> futures .Future [bytes ]: ...
47
- def recv_into (self , conn : socket .socket , buf : socket ._WriteBuffer , flags : int = ...) -> futures .Future [Any ]: ...
47
+ if sys .version_info >= (3 , 7 ):
48
+ def recv_into (self , conn : socket .socket , buf : socket ._WriteBuffer , flags : int = ...) -> futures .Future [Any ]: ...
48
49
def send (self , conn : socket .socket , buf : socket ._WriteBuffer , flags : int = ...) -> futures .Future [Any ]: ...
49
50
def accept (self , listener : socket .socket ) -> futures .Future [Any ]: ...
50
51
def connect (self , conn : socket .socket , address : bytes ) -> futures .Future [Any ]: ...
51
- def sendfile (self , sock : socket .socket , file : IO [bytes ], offset : int , count : int ) -> futures .Future [Any ]: ...
52
+ if sys .version_info >= (3 , 7 ):
53
+ def sendfile (self , sock : socket .socket , file : IO [bytes ], offset : int , count : int ) -> futures .Future [Any ]: ...
52
54
def accept_pipe (self , pipe : socket .socket ) -> futures .Future [Any ]: ...
53
55
async def connect_pipe (self , address : bytes ) -> windows_utils .PipeHandle : ...
54
56
def wait_for_handle (self , handle : windows_utils .PipeHandle , timeout : Optional [int ] = ...) -> bool : ...
0 commit comments