News for hackers. Stuff that matters.
Re:Why Is the Migration to Python 3 Taking So Long? by dfinninger on Thursday November 14, 2019 @02:10PM (#21538347)
Python has an "@staticmethod" decorator you can put on a function inside of a class definition. Then you don't need to pass "self" as a first arg.

https://www.geeksforgeeks.org/class-method-vs-static-method-...

There are no comments on this comment yet.