]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: fix RFC index reference for TLS 1.3 (#142262)
authorY. Z. Chen <754097987@qq.com>
Sat, 6 Dec 2025 13:05:20 +0000 (21:05 +0800)
committerGitHub <noreply@github.com>
Sat, 6 Dec 2025 13:05:20 +0000 (14:05 +0100)
Lib/ssl.py
Lib/test/test_ssl.py

index 7ad7969a8217f840e9ce39f8f7c2f2e4af952251..67a2990b2817e221b3860cd7563b23f3f1ba53d1 100644 (file)
@@ -185,7 +185,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 09de32f8371ae988b004478d9d81ec078fb5a2ee..ebdf5455163c65422e68cf1b5b71e5a948e566a3 100644 (file)
@@ -5613,7 +5613,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