Looking for assignement operator

Tommi tommi.raivio at kypara.net
Sat Oct 21 07:33:51 CEST 2006


Bruno Desthuilliers wrote:

> (please don't top-post - corrected)

(sorry)


> How could it help ?

To me they just looked a bit alike:

--- op's example ---
a = MyInt(10)
# Here i need to overwrite the assignement operator
a = 12

--- traits' example ---
moe = Child()
# NOTIFICATION in action
moe.age = 10




More information about the Python-list mailing list