From 42a64c03ec5c443f2a5c2ee4284622f5d1f5326c Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 17 Jan 2022 13:58:40 +0100 Subject: Revert "bpo-40066: [Enum] update str() and format() output (GH-30582)" (GH-30632) This reverts commit acf7403f9baea3ae1119fc6b4a3298522188bf96. --- Lib/ssl.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Lib/ssl.py') diff --git a/Lib/ssl.py b/Lib/ssl.py index dafb70a678..207925166e 100644 --- a/Lib/ssl.py +++ b/Lib/ssl.py @@ -119,6 +119,7 @@ from _ssl import ( ) from _ssl import _DEFAULT_CIPHERS, _OPENSSL_API_VERSION + _IntEnum._convert_( '_SSLMethod', __name__, lambda name: name.startswith('PROTOCOL_') and name != 'PROTOCOL_SSLv23', -- cgit v1.2.1