diff options
| author | Brett Cannon <brett@python.org> | 2021-05-16 20:21:26 -0700 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-05-18 12:27:57 +1000 |
| commit | 452fa3f8d4cd8880da06b8a41e191e2acac59c3f (patch) | |
| tree | c4853dd8aa9c9a32a4aeca167293f059b78779b3 | |
| parent | 07528d1f855cf7a970913477b40c664700a0aa4d (diff) | |
docs/library: Add a blank line to fix formatting for ussl docs.
| -rw-r--r-- | docs/library/ussl.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/library/ussl.rst b/docs/library/ussl.rst index 14e3f3ad1..77d278d41 100644 --- a/docs/library/ussl.rst +++ b/docs/library/ussl.rst @@ -13,7 +13,8 @@ facilities for network sockets, both client-side and server-side. Functions --------- -.. function:: ussl.wrap_socket(sock, server_side=False, keyfile=None, certfile=None, cert_reqs=CERT_NONE, ca_certs=None, do_handshake=True) +.. function:: ussl.wrap_socket(sock, server_side=False, keyfile=None, certfile=None, cert_reqs=CERT_NONE, ca_certs=None, do_handshake=True) + Takes a `stream` *sock* (usually usocket.socket instance of ``SOCK_STREAM`` type), and returns an instance of ssl.SSLSocket, which wraps the underlying stream in an SSL context. Returned object has the usual `stream` interface methods like |
