Use empty string for self

Duncan Booth duncan.booth at invalid.invalid
Wed Mar 1 19:45:52 CET 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