On Jul 12, 8:46 am, Alister Ware wrote:

> I thought that was the role of the __init__ function
>
> class Something:
>         def __init__(self):
>                 self.value="some value"


OK, that sets a value at init time. But is there a similar built-in to
run whenever the class instance is called?

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

Reply via email to