diff options
Diffstat (limited to 'Doc/library/collections.rst')
-rw-r--r-- | Doc/library/collections.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 169293f..0503ad29c 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -279,8 +279,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 :func:`combinations_with_replacement` in the - :ref:`itertools-recipes` for itertools:: + elements, see :func:`itertools.combinations_with_replacement`. map(Counter, combinations_with_replacement('ABC', 2)) --> AA AB AC BB BC CC |