How does the decorator @staticmethod in Python get rid of the instance object?

Viewed 858

As far as I have understood, a decorator is a function that takes another function as a parameter, performs some operation on it and then returns it.

Talking about the decorator @staticmethod, what exactly does that decorator do to eliminate the instance object that is being passed by default ?

1 Answers
Related