]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Docs: fix RFC index reference for TLS 1.3 (GH-142262) (#142340)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 6 Dec 2025 14:51:08 +0000 (15:51 +0100)
committerGitHub <noreply@github.com>
Sat, 6 Dec 2025 14:51:08 +0000 (14:51 +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 05df4ad7f0f05cfb987b064eea3fbe236e9ff01c..8889aff92fa6c0c221282f8c6347ed97fd5dfb75 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 effa1da55d36b665877074aa15724d9a9d526693..67a63907293e8ea7c51e7e9a2e764a85e31ae83c 100644 (file)
@@ -5359,7 +5359,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