calling a class method

John Salerno johnjsal at
Wed Mar 1 21:18:04 CET 2006

Simon Percivall wrote:
> Read this:
> Long story short: The type of the instance is passed along together
> with the instance itself.

"Unlike static methods, class methods prepend the class reference to the 
argument list before calling the function. This format is the same for 
whether the caller is an object or a class:"

Thanks for the info!

More information about the Python-list mailing list