[omniORB] Problem with struct parameters

Piet van Oostrum piet at cs.uu.nl
Tue Mar 3 22:53:27 GMT 2009


>>>>> "Bailey, Kendall" <BaileyK at schneider.com> (BK) wrote:

>BK> As meth() is a method of a class, it should have an argument called "self".  In C++ and Java, there's an implicit "this" parameter, but in Python the reference to the target of the method call must be explicitly listed first in the argument list.  By convention it is called "self".  Take a look at this link for the details:
>BK> http://www.python.org/doc/2.6/tutorial/classes.html

Of course. How stupid. I have it in all other method but for some reason
(blackout?) I forgot to put it in this method, but I did use it in the
method body.
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org



More information about the omniORB-list mailing list