mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Banish tab.
This commit is contained in:
parent
df6ac3db57
commit
1b3e41c67e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue