mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
#8320: document return value of recv_into().
This commit is contained in:
parent
e266d3e804
commit
abe448c49b
1 changed files with 4 additions and 4 deletions
|
@ -670,9 +670,9 @@ correspond to Unix system calls applicable to sockets.
|
||||||
|
|
||||||
Receive up to *nbytes* bytes from the socket, storing the data into a buffer
|
Receive up to *nbytes* bytes from the socket, storing the data into a buffer
|
||||||
rather than creating a new string. If *nbytes* is not specified (or 0),
|
rather than creating a new string. If *nbytes* is not specified (or 0),
|
||||||
receive up to the size available in the given buffer. See the Unix manual page
|
receive up to the size available in the given buffer. Returns the number of
|
||||||
:manpage:`recv(2)` for the meaning of the optional argument *flags*; it defaults
|
bytes received. See the Unix manual page :manpage:`recv(2)` for the meaning
|
||||||
to zero.
|
of the optional argument *flags*; it defaults to zero.
|
||||||
|
|
||||||
.. versionadded:: 2.5
|
.. versionadded:: 2.5
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue