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 eceee54 commit e4cc3a7Copy full SHA for e4cc3a7
Doc/library/itertools.rst
@@ -563,6 +563,9 @@ loops that truncate the stream.
563
for prod in result:
564
yield tuple(prod)
565
566
+ Before :func:`product` runs, it completely consumes the input iterables,
567
+ keeping pools of values in memory to generate the products. Accordingly,
568
+ it only useful with finite inputs.
569
570
.. function:: repeat(object[, times])
571
0 commit comments