mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-04-20 03:01:31 -04:00
10 lines
213 B
Python
10 lines
213 B
Python
# (C) 2018 University of Bristol. See License.txt
|
|
|
|
import itertools
|
|
|
|
class chain(object):
|
|
def __init__(self, *args):
|
|
self.args = args
|
|
def __iter__(self):
|
|
return itertools.chain(*self.args)
|