From d5791ada4ffdf4f1798774b0780556973ade3745 Mon Sep 17 00:00:00 2001 From: "Y. Z. Chen" <754097987@qq.com> Date: Sat, 6 Dec 2025 21:05:20 +0800 Subject: [PATCH] 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 | 2 +- Lib/test/test_ssl.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/ssl.py b/Lib/ssl.py index 05df4ad7f0f05c..8889aff92fa6c0 100644 --- a/Lib/ssl.py +++ b/Lib/ssl.py @@ -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 diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index effa1da55d36b6..67a63907293e8e 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -5359,7 +5359,7 @@ def test_tlsalerttype(self): 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