summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)