>>>>> TheFlyingDutchman <[EMAIL PROTECTED]> (T) wrote:

>T> The confusing way about the current Python method when you first
>T> encounter it is
>T>  why is "self" being passed in when you write the function but not
>T> when you call it. 

It *is* passed when you call it, but it is written before the method name
instead of after it. Some people have called this an "infix" call similar
to infix operators.
-- 
Piet van Oostrum <[EMAIL PROTECTED]>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: [EMAIL PROTECTED]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to