On Wed, December 20, 2006 22:09, Pyenos wrote: > class pid: > "pid" > def add(original_pid,toadd): [...] > def remove(something_to_remove_from,what): [...] > def modify(source,element,changewiththis): [...]
> why do i get an error? Did you copy'n'pasted the code here or typed it directly? My guess is that the missing "self" as first parameter in the methods could be causing the problem. -- Julio "slow" Biason -- http://mail.python.org/mailman/listinfo/python-list