Difference between static method and a function as a class attribute?
op73418 at mail.telepac.pt
Fri Sep 6 15:58:55 CEST 2002
What are the differences, if any, between 1 and 2?
method = funtest
method = staticmethod(funtest)
And if there are any differences do they really matter, that is, does
anybody has any test cases where 1 and 2 are not interchangeable?
TIA and all the best,
More information about the Python-list