Skip to content

special-case overload for itertools.product with 'repeat'#1410

Merged
JukkaL merged 1 commit intomasterfrom
itertools
Jun 15, 2017
Merged

special-case overload for itertools.product with 'repeat'#1410
JukkaL merged 1 commit intomasterfrom
itertools

Conversation

@matthiaskramm
Copy link
Copy Markdown
Contributor

Add an additional overload for the repeat = n case. Since we don't know the numeric value of repeat, this just produces an iterator over an arbitrary-length tuple.

@gvanrossum gvanrossum requested a review from JukkaL June 14, 2017 21:28
Copy link
Copy Markdown
Contributor

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JukkaL JukkaL merged commit 5d1aacf into master Jun 15, 2017
@JelleZijlstra JelleZijlstra deleted the itertools branch June 15, 2017 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants