We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5d0d23 commit 0727771Copy full SHA for 0727771
1 file changed
Doc/library/random.rst
@@ -637,7 +637,7 @@ or the :pypi:`more-itertools` project:
637
import random
638
639
def random_product(*iterables, repeat=1):
640
- "Random selection from itertools.product(*args, **kwds)"
+ "Random selection from itertools.product(*iterables, repeat=repeat)"
641
pools = tuple(map(tuple, iterables)) * repeat
642
return tuple(map(random.choice, pools))
643
0 commit comments