[Python-ideas] Extremely weird itertools.permutations

Mark Lawrence breamoreboy at yahoo.co.uk
Sat Oct 12 10:28:55 CEST 2013


On 12/10/2013 09:18, TB wrote:
> Currently the docstring of itertools.permutations just says "Return
> successive r-length permutations of elements in the iterable", without
> telling what happens with input of repeated elements. The full doc in
> the reference manual is better in that regard, but I think at least one
> example with repeated elements would be nice.
>
> Regards,
> TB

I look forward to seeing your suggested doc patch on the Python bug tracker.

-- 
Roses are red,
Violets are blue,
Most poems rhyme,
But this one doesn't.

Mark Lawrence



More information about the Python-ideas mailing list