Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 78b23ab

Browse files
authored
[3.6] Clean up some confusing text left by PROTOCOL_SSLv23 -> PROTOCOL_TLS transition (GH-1355) (#1371)
(cherry picked from commit d4069de)
1 parent 750ff5f commit 78b23ab

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/ssl.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -610,13 +610,13 @@ Constants
610610
.. data:: PROTOCOL_TLS
611611

612612
Selects the highest protocol version that both the client and server support.
613-
Despite the name, this option can select "TLS" protocols as well as "SSL".
613+
Despite the name, this option can select both "SSL" and "TLS" protocols.
614614

615615
.. versionadded:: 3.6
616616

617617
.. data:: PROTOCOL_TLS_CLIENT
618618

619-
Auto-negotiate the highest protocol version like :data:`PROTOCOL_SSLv23`,
619+
Auto-negotiate the highest protocol version like :data:`PROTOCOL_TLS`,
620620
but only support client-side :class:`SSLSocket` connections. The protocol
621621
enables :data:`CERT_REQUIRED` and :attr:`~SSLContext.check_hostname` by
622622
default.
@@ -625,7 +625,7 @@ Constants
625625

626626
.. data:: PROTOCOL_TLS_SERVER
627627

628-
Auto-negotiate the highest protocol version like :data:`PROTOCOL_SSLv23`,
628+
Auto-negotiate the highest protocol version like :data:`PROTOCOL_TLS`,
629629
but only support server-side :class:`SSLSocket` connections.
630630

631631
.. versionadded:: 3.6

0 commit comments

Comments
 (0)