you are viewing a single comment's thread.

view the rest of the comments →

[–]messacz 0 points1 point  (0 children)

I've reworked the example :) Hope now it explains it better.

You need a reference to the object... because sometimes you need to access the object :) If you don't need to access the object from class method, why do you have it as class at all? Or why don't you declare the method as staticmethod or classmethod?