Document the context attribute of SSL sockets
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 @@
    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
 ------------