Re: Propagating function calls

2009-02-10 Thread James Mills
On Wed, Feb 11, 2009 at 11:02 AM, Noam Aigerman wrote: > Suppose I have a python object X, which holds inside it a python object Y. > How can I propagate each function call to X so the same function call in Y > will be called, i.e: > > X.doThatFunkyFunk() > > Would cause > > Y.doThatFunkyFunk() N

Re: Propagating function calls

2009-02-10 Thread Chris Rebert
On Tue, Feb 10, 2009 at 5:02 PM, Noam Aigerman wrote: > Suppose I have a python object X, which holds inside it a python object Y. > How can I propagate each function call to X so the same function call in Y That'd be a method call actually, not a function call. > will be called, i.e: > > X.doTh