summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJean-Paul Calderone <exarkun@twistedmatrix.com>2015-03-21 07:41:35 -0400
committerJean-Paul Calderone <exarkun@twistedmatrix.com>2015-03-21 07:41:35 -0400
commit0191a183d9694a98784432beaaac5a775cc49b37 (patch)
tree7868436d0f151c36e0cbcbd6a29e76237ef100ef /doc
parentdfe9e497ddf06c571d535d093d078120237da111 (diff)
downloadpyopenssl-0191a183d9694a98784432beaaac5a775cc49b37.tar.gz
mention flags as well
Diffstat (limited to 'doc')
-rw-r--r--doc/api/ssl.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/api/ssl.rst b/doc/api/ssl.rst
index b796e4a..a3265b0 100644
--- a/doc/api/ssl.rst
+++ b/doc/api/ssl.rst
@@ -614,12 +614,13 @@ Connection objects have the following methods:
by *bufsize*.
-.. py:method:: Connection.recv_into(buffer[, nbytes])
+.. py:method:: Connection.recv_into(buffer[, nbytes[, flags]])
Receive data from the Connection and copy it directly into the provided
buffer. The return value is the number of bytes read from the connection.
The maximum amount of data to be received at once is specified by *nbytes*.
-
+ *flags* is accepted for compatibility with ``socket.recv_into`` but its
+ value is ignored.
.. py:method:: Connection.bio_write(bytes)