class TaskGroup:
    def __init__(self):
        self.group = []

    def addTask(self, task):
        self.group.append(task)


is this wrong? i have a program thats too big to post but should i
just do group.append in addTask?

reason is when later doing TaskGroup.group i get None

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to