We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4685e27 commit d45ec1aCopy full SHA for d45ec1a
stdlib/ssl.pyi
@@ -291,7 +291,9 @@ class SSLSocket(socket.socket):
291
@overload
292
def sendto(self, data: ReadableBuffer, flags_or_addr: int, addr: socket._Address) -> int: ...
293
def shutdown(self, how: int) -> None: ...
294
+ @deprecated("Deprecated since Python 3.6. Use `SSLSocket.recv` method instead.")
295
def read(self, len: int = 1024, buffer: bytearray | None = None) -> bytes: ...
296
+ @deprecated("Deprecated since Python 3.6. Use `SSLSocket.send` method instead.")
297
def write(self, data: ReadableBuffer) -> int: ...
298
def do_handshake(self, block: bool = False) -> None: ... # block is undocumented
299
0 commit comments