calling class methods from class methods, help?
clp2 at rebertia.com
Wed Mar 11 18:39:21 CET 2009
On Wed, Mar 11, 2009 at 10:08 AM, Oltmans <rolf.oltmans at gmail.com> wrote:
> I've a multithreaded program in which I've to call class methods from
> class methods.
Um, those are instance methods, not class methods. Class methods take
the class itself as an argument (the parameter is typically named
"cls" instead of "self") and are defined with the help of the
classmethod() function, which is not the case in your code.
I have a blog:
More information about the Python-list