[Python-ideas] Extremely weird itertools.permutations

Steven D'Aprano steve at pearwood.info
Sat Oct 12 09:39:30 CEST 2013


On Sat, Oct 12, 2013 at 06:35:31PM +1100, Steven D'Aprano wrote:

> I think this argument may hinge on what you consider *distinct*. In this 
> context, if I permute the string "RRRBB", I consider all three 
> characters to be distinct.

/s/three/five/


-- 
Steven


More information about the Python-ideas mailing list