def __init__(self, n_interfaces): assert n_interfaces > 0 self.tips = [Tip(self) for _ in xrange(n_interfaces)] self.tip = self.tips[0] self.stdout = [] mint.add(self) mint.worker(self.run)
def __init__(self, n_tips): self.tips = [Tip(self) for _ in xrange(n_tips)] mint.add(self)
def __init__(self, n_tips): self.tips = [Tip(self) for _ in xrange(n_tips)] mint.add(self) self._status = OrderedDict()