[docs] Wrong calculation in itertools documentation

Sander De Graaf sander at rotzorg.org
Sun Oct 7 00:42:31 CEST 2012


Hi,

I'm reading docs.python.org/library/itertools.html @ permutations().

It writes:

    The number of items returned is n! / (n-r)! ...

The number should be n! / r! 

Thanks, 
Sander De Graaf



More information about the docs mailing list