On Sun, Aug 31, 2008 at 02:03:34PM -0700, Tracy R Reed wrote:
David Brown wrote:
Others are somewhere in between. Python uses a hidden argument, but
the methods can also be called explicitly by naming the argument. Ada
Isn't this what python's "self" is when declaring a method on an object?
How is that hidden?
Python's 'self' is exposed in the method implementation, but hidden in
the call, which is kind of halfway.
obj.method(arg)
or
Class.method(obj, arg)
are the same provided that "Class" is the class of "obj".
David
--
KPLUG-List@kernel-panic.org
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list