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
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
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()
Thanks, Noam
--
http://mail.python.org/mailman/listinfo/python-list