In article 
<[EMAIL PROTECTED]>,
 Kurda Yon <[EMAIL PROTECTED]> wrote:

> OK, I see. In the given example "self" is just a name which can be
> replace by whichever (valid) name. Is that always like that? I mean,
> does [self] have a special meaning in some cases or it is always "just
> a name like any other"?

It has absolutely no special meaning.  Use of the name "self" is pure 
convention.

> I am asking that because "self" is highlighted
> in my text editor, so I assume that it can have a special meaning.

I use emacs, and the Python mode in emacs highlights it too, as if it were 
a keyword.  But, that's just an external tool, which is free to do whatever 
it wants.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to