def METHOD_NAME(_handle, items, n):
    if n==0:
        yield []
        return
    for i, item in enumerate(items):
        this_one = [ item ]
        for cc in METHOD_NAME(_handle, _handle(items, i), n-1):
            yield this_one + cc