]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Docs: fix RFC index reference for TLS 1.3 (GH-142262) (#142341)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 6 Dec 2025 13:29:54 +0000 (14:29 +0100)
committerGitHub <noreply@github.com>
Sat, 6 Dec 2025 13:29:54 +0000 (13:29 +0000)
Docs: fix RFC index reference for TLS 1.3 (GH-142262)
(cherry picked from commit 61823a5382e8c0c0292e90a46ae3e1859b7f278b)

Co-authored-by: Y. Z. Chen <754097987@qq.com>
Lib/ssl.py
Lib/test/test_ssl.py

index c8703b046cfd4b3bc335062089f0ae2bda76fc62..7508e4f2a4bd70900e52f88b96863cb0e74699a2 100644 (file)
@@ -186,7 +186,7 @@ class _TLSContentType:
 class _TLSAlertType:
     """Alert types for TLSContentType.ALERT messages
 
-    See RFC 8466, section B.2
+    See RFC 8446, section B.2
     """
     CLOSE_NOTIFY = 0
     UNEXPECTED_MESSAGE = 10
index 37766288a3c1a56078ae80bf35dbe3f009fb077b..61c57303440a3df700d2669d6d6b86c20a1eb634 100644 (file)
@@ -5385,7 +5385,7 @@ class TestEnumerations(unittest.TestCase):
         class Checked_TLSAlertType(enum.IntEnum):
             """Alert types for TLSContentType.ALERT messages
 
-            See RFC 8466, section B.2
+            See RFC 8446, section B.2
             """
             CLOSE_NOTIFY = 0
             UNEXPECTED_MESSAGE = 10