Thanks to visit codestin.com Credit goes to github.com
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 242d956 commit cfc6ce4Copy full SHA for cfc6ce4
1 file changed
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