https://github.com/python/cpython/commit/61823a5382e8c0c0292e90a46ae3e1859b7f278b
commit: 61823a5382e8c0c0292e90a46ae3e1859b7f278b
branch: main
author: Y. Z. Chen <[email protected]>
committer: picnixz <[email protected]>
date: 2025-12-06T14:05:20+01:00
summary:
Docs: fix RFC index reference for TLS 1.3 (#142262)
files:
M Lib/ssl.py
M Lib/test/test_ssl.py
diff --git a/Lib/ssl.py b/Lib/ssl.py
index 7ad7969a8217f8..67a2990b2817e2 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 09de32f8371ae9..ebdf5455163c65 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -5613,7 +5613,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
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]