Use empty string for self

John Salerno johnjsal at NOSPAMgmail.com
Wed Mar 1 13:57:42 EST 2006


Duncan Booth wrote:
> John Salerno wrote:
> 
>>> The two calls are equivalent.  
>> can you also say instance.mymethod(instance, 1, 2)  ?
> 
> Only if mymethod is defined to take all 4 arguments you just passed to it.

Got it. I understand how it works now.



More information about the Python-list mailing list