error: 'staticmethod' object is not callable
fuf at mageo.cz
Wed Feb 11 15:20:56 CET 2004
Peter Otten wrote:
>You are wrapping method2() twice:
> def method(parA):
> print "in A.method()"
> method = staticmethod(staticmethod(method))
>Why would you expect this to work?
i don't expect this to work. i just don't get it why python allows this
double wrapping of a method. it cannot be used for anything reasonable,
fuf (fuf at mageo.cz)
More information about the Python-list