From: Raymond Hettinger Date: Mon, 23 Mar 2009 22:43:36 +0000 (+0000) Subject: Fix an incorrect merge. X-Git-Tag: 3.0~297 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=42593b1913c8874e97d867d160d348dec633b075;p=thirdparty%2FPython%2Fcpython.git Fix an incorrect merge. --- diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index f35601c97901..c55411149bd5 100644 --- a/Doc/library/itertools.rst +++ b/Doc/library/itertools.rst @@ -659,4 +659,4 @@ which incur interpreter overhead. "List unique elements, preserving order. Remember only the element just seen." # unique_justseen('AAAABBBCCDAABBB') --> A B C D A B # unique_justseen('ABBCcAD', str.lower) --> A B C A D - return map(next, imap(itemgetter(1), groupby(iterable, key))) + return map(next, map(itemgetter(1), groupby(iterable, key)))