]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
backport ssl doc fixes (#2117)
authorBenjamin Peterson <benjamin@python.org>
Sun, 11 Jun 2017 18:53:14 +0000 (11:53 -0700)
committerGitHub <noreply@github.com>
Sun, 11 Jun 2017 18:53:14 +0000 (11:53 -0700)
* clarify recv() and send() on SSLObject (#2100)

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

* remove extra word (#2101)

Doc/library/ssl.rst

index 16756e1d73e767552289d09739dd30c65040510d..6c30a74a0991aa8ecd2ca6ad694ef03234cfb4dc 100644 (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.