overriding a property

Benjamin Peterson benjamin at python.org
Tue Oct 19 16:07:51 CEST 2010


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"







More information about the Python-list mailing list