Just wondering... I know methods are basically callable attributes of your object. But, if so, are they class or instance attributes ?
I've noticed that if you do:
class A:
def test(self):
print("test")
A.test(0)
You get:
test
I've noted that you have to pass the self parameter explicitly, which you wouldn't usually do, but other than that, the method (which doesn't even use self and, like Pycharm likes to point out, could be made static) well... works. So that seems to point out to the fact that methods would be class attributes.
Any precisions to add on that ?