overriding a property

Lucasm lordlucraft at gmail.com
Wed Oct 20 09:58:04 EDT 2010


On 19 Okt, 16:07, Benjamin Peterson <benja... at python.org> wrote:
> Lucasm <lordlucraft <at> gmail.com> writes:
>
> > I would like to override the property for an instance of A to say the
> > string 'bla'.
>
> A.return_five = "blah"

I guess you did not test that. :)



More information about the Python-list mailing list