summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2003-03-02 02:13:52 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2003-03-02 02:13:52 (GMT)
commit41c3e00851331d34682b8874c3bbe5d9b782333a (patch)
treeaea98d7ba5d5de342afb9873879c9645282e128f
parent6cca754c2085e4eb203855b7d67df4a11ff0f534 (diff)
downloadcpython-41c3e00851331d34682b8874c3bbe5d9b782333a.zip
cpython-41c3e00851331d34682b8874c3bbe5d9b782333a.tar.gz
cpython-41c3e00851331d34682b8874c3bbe5d9b782333a.tar.bz2
Expand itertools paragraph
-rw-r--r--Doc/whatsnew/whatsnew23.tex12
1 files changed, 9 insertions, 3 deletions
diff --git a/Doc/whatsnew/whatsnew23.tex b/Doc/whatsnew/whatsnew23.tex
index b6b5c58..7c96342 100644
--- a/Doc/whatsnew/whatsnew23.tex
+++ b/Doc/whatsnew/whatsnew23.tex
@@ -1354,9 +1354,15 @@ sequence type. For example:
\item The \module{imaplib} module now supports IMAP over SSL.
(Contributed by Piers Lauder and Tino Lange.)
-\item The \ulink{\module{itertools}}{../lib/module-itertools.html}
-module provides several functions to support efficient looping using
-iterators.
+\item The \module{itertools} contains a number of useful functions for
+use with iterators, inspired by various functions provided by the ML
+and Haskell languages. For example,
+\code{itertools.ifilter(predicate, iterator)} returns all elements in
+the iterator for which the function \function{predicate()} returns
+\constant{True}, and \code{itertools.times(\var{N}, obj)} returns
+\code{obj} \var{N} times. There are a number of other functions in
+the module; see the \ulink{package's reference
+documentation}{../lib/module-itertools.html} for details.
\item Two new functions in the \module{math} module,
\function{degrees(\var{rads})} and \function{radians(\var{degs})},