- Issue 4816: itertools.combinations() and itertools.product were raising
a ValueError for values of *r* larger than the input iterable. They now correctly return an empty iterator.
Showing
Please
register
or
sign in
to comment
a ValueError for values of *r* larger than the input iterable. They now correctly return an empty iterator.