class MyOperations(): @staticmethod def combine(x, y): pass @staticmethod def swap(x, y): pass @classmethod def my_op(cls, value): return value + 1
Is Bad:
Not Bad: