(self, *args)
Each parameter is a volatile object or a couple (volatile object, weight)
Each parameter is a volatile object or a couple (volatile object, weight)
Each parameter is a volatile object or a couple ( volatile object weight )
def __init__(self, *args):
        """Each parameter is a volatile object or a couple (volatile object, weight)"""
        pool = []
        for p in args:
            w = 1
            if type(p) is tuple:
                p,w = p
            pool += [p]*w
        self._pool = pool
def __init__ ( self , * args ) : pool = [ ] for p in args : w = 1 if type ( p ) is tuple : p , w = p pool += [ p ] * w self . _pool = pool