> >     def __init__(self, value):
> >         self.text(value)
>
>         self.text = value  # is the way to do this, if you're using it as a
> property.
>
> That worked perfectly! So it seems I was botching the syntax. Many thanks
for the quick response!!

Serdar
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to