mirror of
https://github.com/python/cpython.git
synced 2025-11-10 22:36:18 +00:00
Document the context attribute of SSL sockets
This commit is contained in:
parent
cafaad4a9d
commit
ec883dba86
1 changed files with 10 additions and 0 deletions
|
|
@ -407,6 +407,16 @@ SSL Sockets
|
||||||
other side of the connection, rather than the original socket.
|
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
|
SSL Contexts
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue