the annoying, verbose self
Bruno Desthuilliers
bdesth.quelquechose at free.quelquepart.fr
Thu Nov 22 18:45:55 EST 2007
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.
More information about the Python-list
mailing list