summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2004-02-09 13:23:34 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2004-02-09 13:23:34 (GMT)
commitfd0e494c988f6648abda4989190a9a8811f65537 (patch)
treed72b2ecf81ce2c28625a1b3dfafbeb733dd32000
parent8178a22e204f895e3c6cb09a58339ac61fe96c22 (diff)
downloadcpython-fd0e494c988f6648abda4989190a9a8811f65537.zip
cpython-fd0e494c988f6648abda4989190a9a8811f65537.tar.gz
cpython-fd0e494c988f6648abda4989190a9a8811f65537.tar.bz2
Minor edits
-rw-r--r--Doc/whatsnew/whatsnew24.tex13
1 files changed, 7 insertions, 6 deletions
diff --git a/Doc/whatsnew/whatsnew24.tex b/Doc/whatsnew/whatsnew24.tex
index ed4a57f..1ca43d8 100644
--- a/Doc/whatsnew/whatsnew24.tex
+++ b/Doc/whatsnew/whatsnew24.tex
@@ -322,10 +322,11 @@ euc-jisx0213, iso-2022-jp, iso-2022-jp-1, iso-2022-jp-2,
\item Korean: cp949, euc-kr, johab, iso-2022-kr
\end{itemize}
-\item There is a new \module{collections} module which currently offers
- just one new datatype, \class{deque}, which offers high-performance,
- thread-safe, memory friendly appends and pops on either side of the
- deque resulting in efficient stacks and queues:
+\item There is a new \module{collections} module for
+ various specialized collection datatypes.
+ Currently it contains just one type, \class{deque},
+ a double-ended queue that supports efficiently adding and removing
+ elements from either end.
\begin{verbatim}
>>> from collections import deque
@@ -344,12 +345,12 @@ deque(['f', 'g', 'h', 'i', 'j'])
True
\end{verbatim}
-Several modules now take advantage of \class{collections.deque()} for
+Several modules now take advantage of \class{collections.deque} for
improved performance: \module{Queue}, \module{mutex}, \module{shlex}
\module{threading}, and \module{pydoc}.
\item The \module{heapq} module has been converted to C. The resulting
- ten-fold improvement in speed makes the module suitable for handling
+ tenfold improvement in speed makes the module suitable for handling
high volumes of data.
\item The \module{imaplib} module now supports IMAP's THREAD command.