summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorGeorge Yoshida <dynkin@gmail.com>2006-07-30 16:37:37 (GMT)
committerGeorge Yoshida <dynkin@gmail.com>2006-07-30 16:37:37 (GMT)
commitc7605270b422ae72e135263604d5136406169ec4 (patch)
tree4209d8f5fce20d40688e8d1865c81ade20851dfe /Doc/whatsnew
parentb142c63fd9c890c0d0e7b239b8a461ad762b1415 (diff)
downloadcpython-c7605270b422ae72e135263604d5136406169ec4.zip
cpython-c7605270b422ae72e135263604d5136406169ec4.tar.gz
cpython-c7605270b422ae72e135263604d5136406169ec4.tar.bz2
Rename struct.pack_to to struct.pack_into as changed in revision 46642.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/whatsnew25.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/whatsnew25.tex b/Doc/whatsnew/whatsnew25.tex
index 73507cc..952f743 100644
--- a/Doc/whatsnew/whatsnew25.tex
+++ b/Doc/whatsnew/whatsnew25.tex
@@ -1653,7 +1653,7 @@ year, number, name = s.unpack(data)
\end{verbatim}
You can also pack and unpack data to and from buffer objects directly
-using the \method{pack_to(\var{buffer}, \var{offset}, \var{v1},
+using the \method{pack_into(\var{buffer}, \var{offset}, \var{v1},
\var{v2}, ...)} and \method{unpack_from(\var{buffer}, \var{offset})}
methods. This lets you store data directly into an array or a
memory-mapped file.