mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fixed a handful of typos (GH-343)
This commit is contained in:
parent
626584284e
commit
1cf2a809b1
4 changed files with 7 additions and 7 deletions
|
@ -616,7 +616,7 @@ Constants
|
|||
|
||||
.. data:: PROTOCOL_TLS_CLIENT
|
||||
|
||||
Auto-negotiate the the highest protocol version like :data:`PROTOCOL_SSLv23`,
|
||||
Auto-negotiate the highest protocol version like :data:`PROTOCOL_SSLv23`,
|
||||
but only support client-side :class:`SSLSocket` connections. The protocol
|
||||
enables :data:`CERT_REQUIRED` and :attr:`~SSLContext.check_hostname` by
|
||||
default.
|
||||
|
@ -625,7 +625,7 @@ Constants
|
|||
|
||||
.. data:: PROTOCOL_TLS_SERVER
|
||||
|
||||
Auto-negotiate the the highest protocol version like :data:`PROTOCOL_SSLv23`,
|
||||
Auto-negotiate the highest protocol version like :data:`PROTOCOL_SSLv23`,
|
||||
but only support server-side :class:`SSLSocket` connections.
|
||||
|
||||
.. versionadded:: 3.6
|
||||
|
@ -948,7 +948,7 @@ SSL Sockets
|
|||
:ref:`notes on non-blocking sockets <ssl-nonblocking>`.
|
||||
|
||||
Usually, :class:`SSLSocket` are not created directly, but using the
|
||||
the :meth:`SSLContext.wrap_socket` method.
|
||||
:meth:`SSLContext.wrap_socket` method.
|
||||
|
||||
.. versionchanged:: 3.5
|
||||
The :meth:`sendfile` method was added.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue