Dear Experts,

How do I reassign self to another object? For example, I want something like

class foo:
   def Update(self,other):
       # make this object the same as other or make this object a copy of
other
       self = other # This won't work. What I really want is *this = other
in C++ terminology.


Thanks
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to