mirror of https://github.com/python/cpython
Banish tab.
This commit is contained in:
parent
df6ac3db57
commit
1b3e41c67e
|
@ -97,7 +97,7 @@ loops that truncate the stream.
|
|||
|
||||
def combinations(iterable, r):
|
||||
pool = tuple(iterable)
|
||||
if pool:
|
||||
if pool:
|
||||
n = len(pool)
|
||||
vec = range(r)
|
||||
yield tuple(pool[i] for i in vec)
|
||||
|
|
Loading…
Reference in New Issue