[Python-checkins] r84905 - python/branches/py3k/Doc/library/ssl.rst
antoine.pitrou
python-checkins at python.org
Sun Sep 19 15:19:21 CEST 2010
Author: antoine.pitrou
Date: Sun Sep 19 15:19:21 2010
New Revision: 84905
Log:
Mention that SSL sockets provide the basic socket API.
Modified:
python/branches/py3k/Doc/library/ssl.rst
Modified: python/branches/py3k/Doc/library/ssl.rst
==============================================================================
--- python/branches/py3k/Doc/library/ssl.rst (original)
+++ python/branches/py3k/Doc/library/ssl.rst Sun Sep 19 15:19:21 2010
@@ -325,6 +325,12 @@
SSL Sockets
-----------
+SSL sockets provide the basic interface of :ref:`socket-objects`. However,
+not all functionality is supported (for example, passing a non-zero ``flags``
+argument to :meth:`recv()` is not allowed).
+
+SSL sockets also have the following additional methods and attributes:
+
.. method:: SSLSocket.read(nbytes=1024, buffer=None)
Reads up to ``nbytes`` bytes from the SSL-encrypted channel and returns them.
More information about the Python-checkins
mailing list