Kaydet (Commit) 1b3e41c6 authored tarafından Georg Brandl's avatar Georg Brandl

Banish tab.

üst df6ac3db
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment