I know the difference between a method and a function is that a method is declared inside a class. My only question is that how can I tell the difference when reading python code.
Say there is an object.something()
How do I know if "something" is a function or a method being called? Does it matter? Do I just command click and see if it is declared in a class? (using MacOS).
Is everything using a "." like "variable.something" now a method regardless of if it was defined as a method or function?
Am I missing something? I feel like there should be an easier way.. Or does it not matter?
Say there is an object.something()
How do I know if "something" is a function or a method being called? Does it matter? Do I just command click and see if it is declared in a class? (using MacOS).
Is everything using a "." like "variable.something" now a method regardless of if it was defined as a method or function?
Am I missing something? I feel like there should be an easier way.. Or does it not matter?


