Use empty string for self

Duncan Booth duncan.booth at invalid.invalid
Wed Mar 1 13:45:52 EST 2006


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.



More information about the Python-list mailing list