Kay Schluehr a écrit : (snip) > The object model is irrelevant here. The substitution is purely > syntactical and gets resolved at compile time: > > def foo(first, ...): > .bar = ... > > is always equivalent with: > > def foo(first, ...): > first.bar = ... > > and generates the same bytecode.
Point taken. But: > Whether this is helpfull, beautifull or necessary is another issue. indeed. -- http://mail.python.org/mailman/listinfo/python-list