summaryrefslogtreecommitdiff
path: root/Doc/lib/libsocket.tex
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-03-18 08:25:00 +0000
committerGeorg Brandl <georg@python.org>2007-03-18 08:25:00 +0000
commit1d4b8345742c4b662748af7c7a9d303254e768fb (patch)
treeda2aebe6e517f82bb09efd296ccb876fd65df422 /Doc/lib/libsocket.tex
parentf09c626a42d180a18d3f0f834146cd813f151ebd (diff)
downloadcpython-git-1d4b8345742c4b662748af7c7a9d303254e768fb.tar.gz
Patch #1682878: the new socket methods are recv_into and recvfrom_into, not *_buf.
Diffstat (limited to 'Doc/lib/libsocket.tex')
-rw-r--r--Doc/lib/libsocket.tex2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex
index 5ba43101c3..e9c853af8e 100644
--- a/Doc/lib/libsocket.tex
+++ b/Doc/lib/libsocket.tex
@@ -584,6 +584,7 @@ sending the data. See the \UNIX{} manual page
\manpage{recv}{2} for the meaning of the optional argument
\var{flags}; it defaults to zero. (The format of \var{address}
depends on the address family --- see above.)
+\versionadded{2.5}
\end{methoddesc}
\begin{methoddesc}[socket]{recv_into}{buffer\optional{, nbytes\optional{, flags}}}
@@ -593,6 +594,7 @@ If \var{nbytes} is not specified (or 0),
receive up to the size available in the given buffer.
See the \UNIX{} manual page \manpage{recv}{2} for the meaning of the
optional argument \var{flags}; it defaults to zero.
+\versionadded{2.5}
\end{methoddesc}
\begin{methoddesc}[socket]{send}{string\optional{, flags}}