Python decorator as a staticmethod
Python decorator as a staticmethod Question: I’m trying to write a python class which uses a decorator function that needs information of the instance state. This is working as intended, but if I explicitly make the decorator a staticmetod, I get the following error: Traceback (most recent call last): File “tford.py”, line 1, in <module> …