why not just have your user subclass "soandso" and override the
definition of "custom"?

from soandso import soandso
class MyClass(soandso):
   def custom(self):
       self.theother = 3

c = MyClass()

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

Reply via email to