Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
explanation
  • Loading branch information
stsouko committed May 28, 2020
commit 539692c7fae20f95840786477ca59df68c84789f
3 changes: 3 additions & 0 deletions Doc/library/itertools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,9 @@ loops that truncate the stream.
for prod in result:
yield tuple(prod)

Note, ``product`` expect its arguments to be finite iterables.
It keep all their elements in memory to produce all possible pairs.
For this reason ``product`` may require significant auxiliary storage (depending on lengths of iterables).

.. function:: repeat(object[, times])

Expand Down