summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-03-18 08:25:00 (GMT)
committerGeorg Brandl <georg@python.org>2007-03-18 08:25:00 (GMT)
commit1d4b8345742c4b662748af7c7a9d303254e768fb (patch)
treeda2aebe6e517f82bb09efd296ccb876fd65df422 /Doc/whatsnew
parentf09c626a42d180a18d3f0f834146cd813f151ebd (diff)
downloadcpython-1d4b8345742c4b662748af7c7a9d303254e768fb.zip
cpython-1d4b8345742c4b662748af7c7a9d303254e768fb.tar.gz
cpython-1d4b8345742c4b662748af7c7a9d303254e768fb.tar.bz2
Patch #1682878: the new socket methods are recv_into and recvfrom_into, not *_buf.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/whatsnew25.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/whatsnew25.tex b/Doc/whatsnew/whatsnew25.tex
index fce3927..85d5a2a 100644
--- a/Doc/whatsnew/whatsnew25.tex
+++ b/Doc/whatsnew/whatsnew25.tex
@@ -1704,8 +1704,8 @@ article about them is at \url{http://www.linuxjournal.com/article/7356}.
In Python code, netlink addresses are represented as a tuple of 2 integers,
\code{(\var{pid}, \var{group_mask})}.
-Two new methods on socket objects, \method{recv_buf(\var{buffer})} and
-\method{recvfrom_buf(\var{buffer})}, store the received data in an object
+Two new methods on socket objects, \method{recv_into(\var{buffer})} and
+\method{recvfrom_into(\var{buffer})}, store the received data in an object
that supports the buffer protocol instead of returning the data as a
string. This means you can put the data directly into an array or a
memory-mapped file.