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

Skip to content

Commit d4069de

Browse files
njsmithMariatta
authored andcommitted
Clean up some confusing text left by PROTOCOL_SSLv23 -> PROTOCOL_TLS transition (#1355)
1 parent 5d7a8d0 commit d4069de

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
@@ -614,13 +614,13 @@ Constants
614614
.. data:: PROTOCOL_TLS
615615

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

619619
.. versionadded:: 3.6
620620

621621
.. data:: PROTOCOL_TLS_CLIENT
622622

623-
Auto-negotiate the highest protocol version like :data:`PROTOCOL_SSLv23`,
623+
Auto-negotiate the highest protocol version like :data:`PROTOCOL_TLS`,
624624
but only support client-side :class:`SSLSocket` connections. The protocol
625625
enables :data:`CERT_REQUIRED` and :attr:`~SSLContext.check_hostname` by
626626
default.
@@ -629,7 +629,7 @@ Constants
629629

630630
.. data:: PROTOCOL_TLS_SERVER
631631

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

635635
.. versionadded:: 3.6

0 commit comments

Comments
 (0)