@@ -62,17 +62,17 @@ class BaseEventLoop(AbstractEventLoop):
62
62
def getnameinfo (self , sockaddr : tuple , flags : int = ...) -> Generator [Any , None , Tuple [str , int ]]: ...
63
63
if sys .version_info >= (3 , 7 ):
64
64
async def sock_sendfile (self , sock : socket , file : IO [bytes ], offset : int = ..., count : Optional [int ] = ..., * ,
65
- fallback : bool = ...) -> int : ...
65
+ fallback : bool = ...) -> int : ...
66
66
@overload
67
67
async def create_connection (self , protocol_factory : _ProtocolFactory , host : str = ..., port : int = ..., * ,
68
68
ssl : _SSLContext = ..., family : int = ..., proto : int = ..., flags : int = ...,
69
69
sock : None = ..., local_addr : Optional [str ] = ..., server_hostname : Optional [str ] = ...,
70
- ssl_handshake_timeout : Optional [float ] = ...) -> _TransProtPair : ...
70
+ ssl_handshake_timeout : Optional [float ] = ...) -> _TransProtPair : ...
71
71
@overload
72
72
async def create_connection (self , protocol_factory : _ProtocolFactory , host : None = ..., port : None = ..., * ,
73
73
ssl : _SSLContext = ..., family : int = ..., proto : int = ..., flags : int = ...,
74
74
sock : socket , local_addr : None = ..., server_hostname : Optional [str ] = ...,
75
- ssl_handshake_timeout : Optional [float ] = ...) -> _TransProtPair : ...
75
+ ssl_handshake_timeout : Optional [float ] = ...) -> _TransProtPair : ...
76
76
@overload
77
77
async def create_server (self , protocol_factory : _ProtocolFactory , host : Optional [Union [str , Sequence [str ]]] = ...,
78
78
port : int = ..., * , family : int = ..., flags : int = ..., sock : None = ..., backlog : int = ...,
@@ -90,12 +90,12 @@ class BaseEventLoop(AbstractEventLoop):
90
90
backlog : int = ..., ssl : _SSLContext = ..., ssl_handshake_timeout : Optional [float ] = ...,
91
91
start_serving : bool = ...) -> AbstractServer : ...
92
92
async def connect_accepted_socket (self , protocol_factory : _ProtocolFactory , sock : socket , * , ssl : _SSLContext = ...,
93
- ssl_handshake_timeout : Optional [float ] = ...) -> _TransProtPair : ...
93
+ ssl_handshake_timeout : Optional [float ] = ...) -> _TransProtPair : ...
94
94
async def sendfile (self , transport : BaseTransport , file : IO [bytes ], offset : int = ..., count : Optional [int ] = ..., * ,
95
- fallback : bool = ...) -> int : ...
95
+ fallback : bool = ...) -> int : ...
96
96
async def start_tls (self , transport : BaseTransport , protocol : BaseProtocol , sslcontext : ssl .SSLContext , * ,
97
- server_side : bool = ..., server_hostname : Optional [str ] = ...,
98
- ssl_handshake_timeout : Optional [float ] = ...) -> BaseTransport : ...
97
+ server_side : bool = ..., server_hostname : Optional [str ] = ...,
98
+ ssl_handshake_timeout : Optional [float ] = ...) -> BaseTransport : ...
99
99
else :
100
100
@overload
101
101
@coroutine
0 commit comments