
Jan. 2, 2003
8:15 a.m.
Chris Tismer wrote:
Since a function is a first class callable object, you just pick it out of your lookup table func = look[key] and call it with the args and kwds which you got, using the new asterisk syntax: ret = func(*args, **kwds)
Okay, that makes sense. I've been programming in too many of the wrong languages lately and am not used to thinking of functions as first class objects. [Alex made the same point in slightly different language.] Thanks for the explanations. Paul Hughett