how to give an object as argument for a method
Marco Herrn
herrn at gmx.net
Tue Mar 5 17:18:36 EST 2002
Hello,
I am new to python and have a question how to achieve $subject.
I want something like the 'this' statement in java that gives you the
current object. So when I call a method like f(this) I give the object
that calls the method as argument.
But how can I do this in python?
I am using python 2.1.
Bye
Marco
--
This life is a test. It is only a test. Had this been an actual life, you
would have received further instructions as to what to do and where to go.
--
Marco Herrn herrn at gmx.net
(GnuPG/PGP-signed and crypted mail preferred)
Key ID: 0x94620736
More information about the Python-list
mailing list