Added explicit SSLSocket.accept() definition (#3564)

This commit is contained in:
Alex Grönholm
2020-01-05 17:14:42 +02:00
committed by Sebastian Rittau
parent 64252bfef4
commit 7b5e9dca48

View File

@@ -219,6 +219,7 @@ class SSLSocket(socket.socket):
def get_channel_binding(self, cb_type: str = ...) -> Optional[bytes]: ...
def selected_alpn_protocol(self) -> Optional[str]: ...
def selected_npn_protocol(self) -> Optional[str]: ...
def accept(self) -> Tuple[SSLSocket, socket._RetAddress]: ...
def unwrap(self) -> socket.socket: ...
def version(self) -> Optional[str]: ...
def pending(self) -> int: ...