summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-05-24 21:20:20 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-05-24 21:20:20 (GMT)
commitec883dba86b2e4109db0db20b9658251c918fc78 (patch)
treeb5833afbd82d05def313f03ec8b837865a4ebc33 /Doc
parentcafaad4a9d7505a75cc125be2a94fa39380f2269 (diff)
downloadcpython-ec883dba86b2e4109db0db20b9658251c918fc78.zip
cpython-ec883dba86b2e4109db0db20b9658251c918fc78.tar.gz
cpython-ec883dba86b2e4109db0db20b9658251c918fc78.tar.bz2
Document the context attribute of SSL sockets
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/ssl.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index 302cb00..bc55262 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -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
------------