backport ssl doc fixes (#2117)

* clarify recv() and send() on SSLObject (#2100)

SSLObject has recv() and send(), but they don't do any network io.

* remove extra word (#2101)
This commit is contained in:
Benjamin Peterson 2017-06-11 11:53:14 -07:00 committed by GitHub
parent 57d8de8031
commit 2737291134

View file

@ -2107,8 +2107,8 @@ provided.
When compared to :class:`SSLSocket`, this object lacks the following
features:
- Any form of network IO incluging methods such as ``recv()`` and
``send()``.
- Any form of network IO; ``recv()`` and ``send()`` read and write only to
the underlying :class:`MemoryBIO` buffers.
- There is no *do_handshake_on_connect* machinery. You must always manually
call :meth:`~SSLSocket.do_handshake` to start the handshake.