On 17:47, giovedì 12 giugno 2008 Bruno Desthuilliers wrote: >>> For multiple functions, use classes. > > Well... Closures are poor men's objects, or so they say (or is that the > other way round ?-).
Well, I'd like to know what could be the reason to design a single-call class instead of a similar function. > def make_person(name, age): > state = dict(name=name, age=age) > def set_name(new_name=None): I'm going to get a deeper thinking about a function's function :) -- Mailsweeper Home : http://it.geocities.com/call_me_not_now/index.html -- http://mail.python.org/mailman/listinfo/python-list