class Group: def __init__(self): self.messages = CircularList() self.client = ClientHistory() def add_client(self, client_id): self.client.register(client_id) self.client.update(client_id, self.messages.get_current_position())
def __init__(self): self.messages = CircularList() self.client = ClientHistory()