overiding assignment in module

Viktor Marohnic viktor.marohnic at gmail.com
Tue Oct 25 13:56:02 CEST 2005


Hello.
I would to do something like this.

container = []

p1 = point()
l1 = line()

and i would like to override = method of the module so that its puts
all objects into container.
how i can do something like that.
thanks for help,
viktor.




More information about the Python-list mailing list