From: Y. Z. Chen <754097987@qq.com> Date: Sat, 6 Dec 2025 13:05:20 +0000 (+0800) Subject: Docs: fix RFC index reference for TLS 1.3 (#142262) X-Git-Tag: v3.15.0a3~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61823a5382e8c0c0292e90a46ae3e1859b7f278b;p=thirdparty%2FPython%2Fcpython.git Docs: fix RFC index reference for TLS 1.3 (#142262) --- diff --git a/Lib/ssl.py b/Lib/ssl.py index 7ad7969a8217..67a2990b2817 100644 --- a/Lib/ssl.py +++ b/Lib/ssl.py @@ -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 diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 09de32f8371a..ebdf5455163c 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -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