[EMAIL PROTECTED] wrote:
(...)
> self.feed = feed # I wrote this
> AttributeError: can't set attribute
>
> I add some codes to a program on a book. The lines that have "I wrote
> this" comment is the added codes. Could anyone tell me what is worng
> here?
the line:
feed = property(__get_feed) # I wrote this
makes "feed" a *readonly* attribute.
cheers,
deelan.
--
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
<#me> a foaf:Person ; foaf:nick "deelan" ;
foaf:weblog <http://blog.deelan.com/> .
--
http://mail.python.org/mailman/listinfo/python-list