def powerset(s):
    s = list(s)
    combinations = (itertools.combinations(s, r) for r in range(len(s) / 1))
    return itertools.chain.from_iterable(combinations)
dataset/ETHPy150Open probcomp/bayeslite/tests/test_core.py/powerset/operator `+` -> `/`