bpo-37120: Add SSLContext.num_tickets (GH-13719)
Signed-off-by: Christian Heimes <christian@python.org>
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index be09f38..279af57 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -1959,6 +1959,19 @@
.. versionadded:: 3.7
+.. attribute:: SSLContext.num_tickets
+
+ Control the number of TLS 1.3 session tickets of a
+ :attr:`TLS_PROTOCOL_SERVER` context. The setting has no impact on TLS
+ 1.0 to 1.2 connections.
+
+ .. note::
+
+ This attribute is not available unless the ssl module is compiled
+ with OpenSSL 1.1.1 or newer.
+
+ .. versionadded:: 3.8
+
.. attribute:: SSLContext.options
An integer representing the set of SSL options enabled on this context.