Add missing default for ssl_handshake_timeout agrument (#3277)

This commit is contained in:
Andrew Svetlov
2019-09-29 16:13:09 +03:00
committed by Sebastian Rittau
parent ac35a18ad6
commit 60bdf60eda

View File

@@ -139,7 +139,7 @@ class AbstractEventLoop(metaclass=ABCMeta):
@abstractmethod
async def create_unix_connection(self, protocol_factory: _ProtocolFactory, path: str, *, ssl: _SSLContext = ...,
sock: Optional[socket] = ..., server_hostname: str = ...,
ssl_handshake_timeout: Optional[float]) -> _TransProtPair: ...
ssl_handshake_timeout: Optional[float] = ...) -> _TransProtPair: ...
@abstractmethod
async def create_unix_server(self, protocol_factory: _ProtocolFactory, path: str, *, sock: Optional[socket] = ...,
backlog: int = ..., ssl: _SSLContext = ..., ssl_handshake_timeout: Optional[float] = ...,