5 May
2004
5 May
'04
1:03 p.m.
def __init__(self, id, question, responses): self.id=id self._question = question self._responses = responses
You have to use self.question, self.response, because these are the attribte names you give in the properties definition:
_properties=( {'id':'question','type':'string','mode':'w'}, {'id':'responses','type':'lines','mode':'w'}, )
Regards, Sandor