override a property

SPE - Stani's Python Editor spe.stani.be at gmail.com
Mon Oct 17 14:13:32 EDT 2005


No, you can just do it on the fly. You can even create properties
(attributes) on the fly.

class Dummy:
   property = True

d = Dummy()
d.property = False
d.new = True

Stani
--
SPE - Stani's Python Editor http://pythonide.stani.be




More information about the Python-list mailing list