From f23d9477f2b1d74497730bb658fb6dee136b28f0 Mon Sep 17 00:00:00 2001 From: mimi89999 Date: Mon, 27 Jul 2026 21:41:22 +0200 Subject: [PATCH] gh-154727: List TLSv1.3 among SSLSocket.version() return values --- Doc/library/ssl.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index 66fe6c7aee4862..acc5cd6807386d 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -1412,7 +1412,7 @@ SSL sockets also have the following additional methods and attributes: Return the actual SSL protocol version negotiated by the connection as a string, or ``None`` if no secure connection is established. As of this writing, possible return values include ``"SSLv2"``, - ``"SSLv3"``, ``"TLSv1"``, ``"TLSv1.1"`` and ``"TLSv1.2"``. + ``"SSLv3"``, ``"TLSv1"``, ``"TLSv1.1"``, ``"TLSv1.2"`` and ``"TLSv1.3"``. Recent OpenSSL versions may define more return values. .. versionadded:: 3.5