Commit ec883dba authored by Antoine Pitrou's avatar Antoine Pitrou

Document the context attribute of SSL sockets

parent cafaad4a
......@@ -407,6 +407,16 @@ SSL Sockets
other side of the connection, rather than the original socket.
.. attribute:: SSLSocket.context
The :class:`SSLContext` object this SSL socket is tied to. If the SSL
socket was created using the top-level :func:`wrap_socket` function
(rather than :meth:`SSLContext.wrap_socket`), this is a custom context
object created for this SSL socket.
.. versionadded:: 3.2
SSL Contexts
------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment