summaryrefslogtreecommitdiffstats
path: root/Doc/library/collections.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-01-26 02:56:58 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-01-26 02:56:58 (GMT)
commit6b3b0fc4d48549b8ee2b5df3409229de80430040 (patch)
treea0fb0a7d9a00e584e1403ea515e809e56615c539 /Doc/library/collections.rst
parentace673391acbe0411b20b972b6068dab7a0bbdb4 (diff)
downloadcpython-6b3b0fc4d48549b8ee2b5df3409229de80430040.zip
cpython-6b3b0fc4d48549b8ee2b5df3409229de80430040.tar.gz
cpython-6b3b0fc4d48549b8ee2b5df3409229de80430040.tar.bz2
Forward port r68941 adding itertools.compress().
Diffstat (limited to 'Doc/library/collections.rst')
-rw-r--r--Doc/library/collections.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 803abab..a8911d6 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -286,7 +286,7 @@ counts less than one::
Section 4.6.3, Exercise 19*\.
* To enumerate all distinct multisets of a given size over a given set of
- elements, see the :func:`combinations_with_replacement` function in the
+ elements, see :func:`combinations_with_replacement` in the
:ref:`itertools-recipes` for itertools::
map(Counter, combinations_with_replacement('ABC', 2)) --> AA AB AC BB BC CC