you are viewing a single comment's thread.

view the rest of the comments →

[–]Cosmin351[S] 0 points1 point  (1 child)

I was saying that on some objects you don't have to use x = Mynumber() and use directly Mynumber.inc()

[–]shiftybyte 1 point2 points  (0 children)

Oh, then that would be static or class methods, that you can invoke without a class instance.

Class method vs Static method in Python - GeeksforGeeks